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:
Assar Westerlund
1997-05-19 03:05:02 +00:00
parent 04fb68d24b
commit 4b00639c3b
3 changed files with 9 additions and 31 deletions

View File

@@ -33,16 +33,16 @@ LDSHARED = @LDSHARED@
LIB = $(LIBNAME).$(LIBEXT)
SOURCES = \
chown.c err.c errx.c fchown.c getcwd.c \
getdtablesize.c getopt.c getusershell.c \
herror.c hstrerror.c inaddr2str.c inet_aton.c \
chown.c err.c errx.c fchown.c get_window_size.c \
getcwd.c getdtablesize.c getopt.c getusershell.c \
hstrerror.c inaddr2str.c inet_aton.c \
initgroups.c k_getpwnam.c k_getpwuid.c lstat.c \
memmove.c mini_inetd.c putenv.c rcmd.c setegid.c setenv.c \
seteuid.c signal.c snprintf.c strcasecmp.c strchr.c strdup.c \
strerror.c strftime.c strlwr.c strnlen.c strrchr.c \
strupr.c tm2time.c unsetenv.c verify.c verr.c \
verrx.c vwarn.c vwarnx.c warn.c warnx.c \
warnerr.c get_window_size.c
memmove.c mini_inetd.c putenv.c rcmd.c setegid.c \
setenv.c seteuid.c signal.c snprintf.c \
strcasecmp.c strdup.c strerror.c strftime.c \
strlwr.c strnlen.c strtok_r.c strupr.c tm2time.c \
unsetenv.c verify.c verr.c verrx.c vwarn.c \
vwarnx.c warn.c warnerr.c warnx.c
OBJECTS = k_getpwuid.o k_getpwnam.o signal.o tm2time.o \
verify.o inaddr2str.o mini_inetd.o get_window_size.o \

View File

@@ -172,10 +172,6 @@ char *hstrerror(int herr);
extern int h_errno;
#endif
#ifndef HAVE_HERROR
void herror(char *s);
#endif
#ifndef HAVE_INET_ATON
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
int inet_aton(const char *cp, struct in_addr *adr);
@@ -203,13 +199,6 @@ int seteuid(int euid);
int setegid(int egid);
#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
int lstat(const char *path, struct stat *buf);
#endif

View File

@@ -172,10 +172,6 @@ char *hstrerror(int herr);
extern int h_errno;
#endif
#ifndef HAVE_HERROR
void herror(char *s);
#endif
#ifndef HAVE_INET_ATON
/* Minimal implementation of inet_aton. Doesn't handle hex numbers. */
int inet_aton(const char *cp, struct in_addr *adr);
@@ -203,13 +199,6 @@ int seteuid(int euid);
int setegid(int egid);
#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
int lstat(const char *path, struct stat *buf);
#endif