From 5f93ab70053b3cb6453004641c70b9ca97ba4d57 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 30 Jul 2004 20:51:31 +0000 Subject: Cleanup some dead wood in the header files --- include/string.h | 44 -------------------------------------------- 1 file changed, 44 deletions(-) (limited to 'include/string.h') diff --git a/include/string.h b/include/string.h index a2045eeda..35e98a805 100644 --- a/include/string.h +++ b/include/string.h @@ -349,11 +349,6 @@ extern char *strsep (char **__restrict __stringp, #endif #ifdef __USE_GNU -#if 0 -/* Compare S1 and S2 as strings holding name & indices/version numbers. */ -extern int strverscmp (__const char *__s1, __const char *__s2) - __THROW __attribute_pure__; -#endif /* Return a string describing the meaning of the signal number in SIG. */ extern char *strsignal (int __sig) __THROW; @@ -371,14 +366,6 @@ extern char *__stpncpy (char *__restrict __dest, extern char *stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __THROW; -#if 0 -/* Sautee STRING briskly. */ -extern char *strfry (char *__string) __THROW; - -/* Frobnicate N bytes of S. */ -extern void *memfrob (void *__s, size_t __n) __THROW; -#endif - # ifndef basename /* Return the file name within directory of FILENAME. We don't declare the function if the `basename' macro is available (defined @@ -389,37 +376,6 @@ extern char *basename (__const char *__filename) __THROW; #endif -#if 0 -#if defined __GNUC__ && __GNUC__ >= 2 -# if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \ - && !defined __NO_INLINE__ && !defined __cplusplus -/* When using GNU CC we provide some optimized versions of selected - functions from this header. There are two kinds of optimizations: - - - machine-dependent optimizations, most probably using inline - assembler code; these might be quite expensive since the code - size can increase significantly. - These optimizations are not used unless the symbol - __USE_STRING_INLINES - is defined before including this header. - - - machine-independent optimizations which do not increase the - code size significantly and which optimize mainly situations - where one or more arguments are compile-time constants. - These optimizations are used always when the compiler is - taught to optimize. - - One can inhibit all optimizations by defining __NO_STRING_INLINES. */ - -/* Get the machine-dependent optimizations (if any). */ -# include - -/* These are generic optimizations which do not add too much inline code. */ -# include -# endif -#endif -#endif - #ifdef __USE_BSD /* Two OpenBSD extension functions. */ extern size_t strlcat(char *__restrict dst, const char *__restrict src, -- cgit v1.2.3