aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-10 23:39:44 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-10 23:39:44 +0000
commitda1d1e763d5f4dbdc2c5afd7d5034ed979a15d71 (patch)
treef1a3b22ce19c5b6c1599baa6afa89712b1230d53 /internal.h
parentcc54d12ef716e9206344c18006b46386fe49ba9b (diff)
downloadbusybox-da1d1e763d5f4dbdc2c5afd7d5034ed979a15d71.tar.gz
Fixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009.
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index a4772b820..5864c47ac 100644
--- a/internal.h
+++ b/internal.h
@@ -255,12 +255,16 @@ extern char *mtab_getinfo(const char *match, const char which);
extern int check_wildcard_match(const char* text, const char* pattern);
extern long getNum (const char *cp);
extern pid_t* findPidByName( char* pidName);
-extern void *xmalloc (size_t size);
extern int find_real_root_device_name(char* name);
extern char *get_line_from_file(FILE *file);
extern char process_escape_sequence(char **ptr);
extern char *get_last_path_component(char *path);
+extern void *xmalloc (size_t size);
+extern char *xstrdup (const char *s);
+extern char *xstrndup (const char *s, int n);
+
+
/* These parse entries in /etc/passwd and /etc/group. This is desirable
* for BusyBox since we want to avoid using the glibc NSS stuff, which
* increases target size and is often not needed embedded systems. */