removed herror, strchr, and strrchr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1739 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -33,16 +33,16 @@ LDSHARED = @LDSHARED@
|
|||||||
LIB = $(LIBNAME).$(LIBEXT)
|
LIB = $(LIBNAME).$(LIBEXT)
|
||||||
|
|
||||||
SOURCES = \
|
SOURCES = \
|
||||||
chown.c err.c errx.c fchown.c getcwd.c \
|
chown.c err.c errx.c fchown.c get_window_size.c \
|
||||||
getdtablesize.c getopt.c getusershell.c \
|
getcwd.c getdtablesize.c getopt.c getusershell.c \
|
||||||
herror.c hstrerror.c inaddr2str.c inet_aton.c \
|
hstrerror.c inaddr2str.c inet_aton.c \
|
||||||
initgroups.c k_getpwnam.c k_getpwuid.c lstat.c \
|
initgroups.c k_getpwnam.c k_getpwuid.c lstat.c \
|
||||||
memmove.c mini_inetd.c putenv.c rcmd.c setegid.c setenv.c \
|
memmove.c mini_inetd.c putenv.c rcmd.c setegid.c \
|
||||||
seteuid.c signal.c snprintf.c strcasecmp.c strchr.c strdup.c \
|
setenv.c seteuid.c signal.c snprintf.c \
|
||||||
strerror.c strftime.c strlwr.c strnlen.c strrchr.c \
|
strcasecmp.c strdup.c strerror.c strftime.c \
|
||||||
strupr.c tm2time.c unsetenv.c verify.c verr.c \
|
strlwr.c strnlen.c strtok_r.c strupr.c tm2time.c \
|
||||||
verrx.c vwarn.c vwarnx.c warn.c warnx.c \
|
unsetenv.c verify.c verr.c verrx.c vwarn.c \
|
||||||
warnerr.c get_window_size.c
|
vwarnx.c warn.c warnerr.c warnx.c
|
||||||
|
|
||||||
OBJECTS = k_getpwuid.o k_getpwnam.o signal.o tm2time.o \
|
OBJECTS = k_getpwuid.o k_getpwnam.o signal.o tm2time.o \
|
||||||
verify.o inaddr2str.o mini_inetd.o get_window_size.o \
|
verify.o inaddr2str.o mini_inetd.o get_window_size.o \
|
||||||
|
@@ -172,10 +172,6 @@ char *hstrerror(int herr);
|
|||||||
extern int h_errno;
|
extern int h_errno;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_HERROR
|
|
||||||
void herror(char *s);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_INET_ATON
|
#ifndef HAVE_INET_ATON
|
||||||
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
||||||
int inet_aton(const char *cp, struct in_addr *adr);
|
int inet_aton(const char *cp, struct in_addr *adr);
|
||||||
@@ -203,13 +199,6 @@ int seteuid(int euid);
|
|||||||
int setegid(int egid);
|
int setegid(int egid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(HAVE_STRCHR) && defined(HAVE_INDEX)
|
|
||||||
char *strchr(const char *s, int c);
|
|
||||||
#endif
|
|
||||||
#if !defined(HAVE_STRRCHR) && defined(HAVE_RINDEX)
|
|
||||||
char *strrchr(const char *s, int c);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_LSTAT
|
#ifndef HAVE_LSTAT
|
||||||
int lstat(const char *path, struct stat *buf);
|
int lstat(const char *path, struct stat *buf);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -172,10 +172,6 @@ char *hstrerror(int herr);
|
|||||||
extern int h_errno;
|
extern int h_errno;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_HERROR
|
|
||||||
void herror(char *s);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_INET_ATON
|
#ifndef HAVE_INET_ATON
|
||||||
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
|
||||||
int inet_aton(const char *cp, struct in_addr *adr);
|
int inet_aton(const char *cp, struct in_addr *adr);
|
||||||
@@ -203,13 +199,6 @@ int seteuid(int euid);
|
|||||||
int setegid(int egid);
|
int setegid(int egid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(HAVE_STRCHR) && defined(HAVE_INDEX)
|
|
||||||
char *strchr(const char *s, int c);
|
|
||||||
#endif
|
|
||||||
#if !defined(HAVE_STRRCHR) && defined(HAVE_RINDEX)
|
|
||||||
char *strrchr(const char *s, int c);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_LSTAT
|
#ifndef HAVE_LSTAT
|
||||||
int lstat(const char *path, struct stat *buf);
|
int lstat(const char *path, struct stat *buf);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user