diff options
author | Eric Andersen | 2000-07-10 23:39:44 +0000 |
---|---|---|
committer | Eric Andersen | 2000-07-10 23:39:44 +0000 |
commit | da1d1e763d5f4dbdc2c5afd7d5034ed979a15d71 (patch) | |
tree | f1a3b22ce19c5b6c1599baa6afa89712b1230d53 /internal.h | |
parent | cc54d12ef716e9206344c18006b46386fe49ba9b (diff) | |
download | busybox-da1d1e763d5f4dbdc2c5afd7d5034ed979a15d71.zip busybox-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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. */ |