summaryrefslogtreecommitdiff
path: root/bin/ksh/missing.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/missing.c')
-rw-r--r--bin/ksh/missing.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/bin/ksh/missing.c b/bin/ksh/missing.c
index 2bcffac1d07..f785bb311f7 100644
--- a/bin/ksh/missing.c
+++ b/bin/ksh/missing.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: missing.c,v 1.4 1999/06/15 01:18:35 millert Exp $ */
+/* $OpenBSD: missing.c,v 1.5 2003/05/16 18:49:46 jsyn Exp $ */
/*
* Routines which may be missing on some machines
@@ -8,7 +8,6 @@
#include "ksh_stat.h"
#include "ksh_dir.h"
-
#ifndef HAVE_MEMSET
void *
memset(d, c, n)
@@ -51,7 +50,6 @@ memmove(d, s, n)
}
#endif /* !HAVE_MEMMOVE && !HAVE_BCOPY */
-
#ifndef HAVE_STRCASECMP
/*
* Case insensitive string compare routines, same semantics as str[n]cmp()
@@ -124,7 +122,6 @@ strncasecmp(s1, s2, n)
}
#endif /* HAVE_STRCASECMP */
-
#ifndef HAVE_STRSTR
char *
strstr(s, p)
@@ -140,8 +137,7 @@ strstr(s, p)
return 0;
}
-#endif /* HAVE_STRSTR */
-
+#endif /* !HAVE_STRSTR */
#ifndef HAVE_STRERROR
char *
@@ -190,7 +186,6 @@ strerror(err)
}
#endif /* !HAVE_STRERROR */
-
#ifdef TIMES_BROKEN
# include "ksh_time.h"
# include "ksh_times.h"
@@ -292,4 +287,4 @@ dup2(oldd, newd)
return fcntl(oldd, F_DUPFD, newd);
}
-#endif /* !HAVE_MEMSET */
+#endif /* !HAVE_DUP2 */