Mercurial > dropbear
comparison compat.c @ 316:dc6173e09ff7 ucc-axis-hack
smaller yet again
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 28 Mar 2006 16:04:11 +0000 |
parents | ace512d2ad5d |
children |
comparison
equal
deleted
inserted
replaced
314:827f87dfbc22 | 316:dc6173e09ff7 |
---|---|
197 } | 197 } |
198 | 198 |
199 #endif /* HAVE_BASENAME */ | 199 #endif /* HAVE_BASENAME */ |
200 | 200 |
201 #ifndef HAVE_GETUSERSHELL | 201 #ifndef HAVE_GETUSERSHELL |
202 #if 0 | |
202 | 203 |
203 /* | 204 /* |
204 * Get a list of shells from /etc/shells, if it exists. | 205 * Get a list of shells from /etc/shells, if it exists. |
205 */ | 206 */ |
206 char * getusershell() { | 207 char * getusershell() { |
276 *sp = NULL; | 277 *sp = NULL; |
277 (void)fclose(fp); | 278 (void)fclose(fp); |
278 return (shells); | 279 return (shells); |
279 } | 280 } |
280 | 281 |
282 #endif | |
281 #endif /* HAVE_GETUSERSHELL */ | 283 #endif /* HAVE_GETUSERSHELL */ |