summaryrefslogtreecommitdiff
path: root/usr/src/head/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/strings.h')
-rw-r--r--usr/src/head/strings.h28
1 files changed, 2 insertions, 26 deletions
diff --git a/usr/src/head/strings.h b/usr/src/head/strings.h
index 1cbbbea0ac..2d3cd9b256 100644
--- a/usr/src/head/strings.h
+++ b/usr/src/head/strings.h
@@ -20,12 +20,11 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright (c) 1995, 1996, by Sun Microsystems, Inc.
* All rights reserved.
*/
-/*
- * Copyright 2013 Garrett D'Amore <garrett@damore.org>
- */
#ifndef _STRINGS_H
#define _STRINGS_H
@@ -41,8 +40,6 @@
extern "C" {
#endif
-#if defined(__STDC__)
-
extern int bcmp(const void *, const void *, size_t);
extern void bcopy(const void *, void *, size_t);
extern void bzero(void *, size_t);
@@ -74,27 +71,6 @@ extern int strncasecmp_l(const char *, const char *, size_t, locale_t);
#endif /* defined(_XPG7) */
#endif /* defined(_XPG4_2) && !defined(__EXTENSIONS__) */
-#else
-
-extern int bcmp();
-extern void bcopy();
-extern void bzero();
-
-extern char *index();
-extern char *rindex();
-
-#if defined(_XPG4_2) && !defined(__EXTENSIONS__)
-extern int ffs();
-extern int strcasecmp();
-extern int strncasecmp();
-#if defined(_XPG7)
-extern int strcasecmp_l();
-extern int strncasecmp_l();
-#endif
-#endif /* defined(_XPG4_2) && !defined(__EXTENSIONS__) */
-
-#endif /* __STDC__ */
-
#ifdef __cplusplus
}
#endif