diff options
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -137,7 +137,7 @@ extern void perror_msg_and_die(const char *s, ...) | |||
137 | exit(EXIT_FAILURE); | 137 | exit(EXIT_FAILURE); |
138 | } | 138 | } |
139 | 139 | ||
140 | #if defined BB_INIT || defined BB_MKSWAP || defined BB_MOUNT | 140 | #if defined BB_INIT || defined BB_MKSWAP || defined BB_MOUNT || defined BB_NFSMOUNT |
141 | /* Returns kernel version encoded as major*65536 + minor*256 + patch, | 141 | /* Returns kernel version encoded as major*65536 + minor*256 + patch, |
142 | * so, for example, to check if the kernel is greater than 2.2.11: | 142 | * so, for example, to check if the kernel is greater than 2.2.11: |
143 | * if (get_kernel_revision() <= 2*65536+2*256+11) { <stuff> } | 143 | * if (get_kernel_revision() <= 2*65536+2*256+11) { <stuff> } |
@@ -1386,7 +1386,7 @@ extern void *xcalloc(size_t nmemb, size_t size) | |||
1386 | } | 1386 | } |
1387 | #endif | 1387 | #endif |
1388 | 1388 | ||
1389 | #if defined BB_FEATURE_NFSMOUNT || defined BB_LS || defined BB_SH || defined BB_WGET | 1389 | #if defined BB_NFSMOUNT || defined BB_LS || defined BB_SH || defined BB_WGET |
1390 | # ifndef DMALLOC | 1390 | # ifndef DMALLOC |
1391 | extern char * xstrdup (const char *s) { | 1391 | extern char * xstrdup (const char *s) { |
1392 | char *t; | 1392 | char *t; |
@@ -1404,7 +1404,7 @@ extern char * xstrdup (const char *s) { | |||
1404 | # endif | 1404 | # endif |
1405 | #endif | 1405 | #endif |
1406 | 1406 | ||
1407 | #if defined BB_FEATURE_NFSMOUNT | 1407 | #if defined BB_NFSMOUNT |
1408 | extern char * xstrndup (const char *s, int n) { | 1408 | extern char * xstrndup (const char *s, int n) { |
1409 | char *t; | 1409 | char *t; |
1410 | 1410 | ||