From 072938a98d1f5d454476c218a253daddfa59e2dc Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 10 Jan 2002 17:53:19 +0000 Subject: Eliminate C++ style comments --- include/features.h | 2 +- include/gnu-versions.h | 2 +- include/langinfo.h | 2 +- include/stdint.h | 4 ++-- include/stdio.h | 12 ++++++------ include/stdlib.h | 6 +++--- include/string.h | 10 +++++----- include/unistd.h | 8 ++++---- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/include/features.h b/include/features.h index db3e9a7af..d950d6fb2 100644 --- a/include/features.h +++ b/include/features.h @@ -309,7 +309,7 @@ /* This is here only because every header file already includes this one. */ #if 0 -//#ifndef _LIBC +/*#ifndef _LIBC*/ /* Get the definitions of all the appropriate `__stub_FUNCTION' symbols. contains `#define __stub_FUNCTION' when FUNCTION is a stub which will always return failure (and set errno to ENOSYS). diff --git a/include/gnu-versions.h b/include/gnu-versions.h index 887fdf511..bb35f3988 100644 --- a/include/gnu-versions.h +++ b/include/gnu-versions.h @@ -44,7 +44,7 @@ remember, if any of these versions change, the libc.so major version number must change too (so avoid it)! */ -//#define _GNU_OBSTACK_INTERFACE_VERSION 1 /* vs malloc/obstack.c */ +/*#define _GNU_OBSTACK_INTERFACE_VERSION 1 *//* vs malloc/obstack.c */ #define _GNU_REGEX_INTERFACE_VERSION 1 /* vs posix/regex.c */ #define _GNU_GLOB_INTERFACE_VERSION 1 /* vs posix/glob.c */ #define _GNU_GETOPT_INTERFACE_VERSION 2 /* vs posix/getopt.c and diff --git a/include/langinfo.h b/include/langinfo.h index 21d16cd90..3d0e7e8f0 100644 --- a/include/langinfo.h +++ b/include/langinfo.h @@ -576,7 +576,7 @@ extern char *nl_langinfo (nl_item __item) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* This interface is for the extended locale model. See for more information. */ diff --git a/include/stdint.h b/include/stdint.h index d254dcabb..0f317684b 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -24,9 +24,9 @@ #define _STDINT_H 1 #include -//#define __need_wchar_t +/*#define __need_wchar_t*/ #include -//#include +/*#include */ #include /* Exact integral types. */ diff --git a/include/stdio.h b/include/stdio.h index 24cf46b26..d321d9b39 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -210,7 +210,7 @@ extern int fflush_unlocked (FILE *__stream) __THROW; #endif #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Close all streams. */ extern int fcloseall (void) __THROW; #endif @@ -252,7 +252,7 @@ extern FILE *fdopen (int __fd, __const char *__modes) __THROW; #endif #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Create a new stream that refers to the given magic cookie, and uses the given functions for input and output. */ extern FILE *fopencookie (void *__restrict __magic_cookie, @@ -432,7 +432,7 @@ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* This function does the same as `fgets' but does not lock the stream. */ extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) __THROW; @@ -468,7 +468,7 @@ extern int fputs (__const char *__restrict __s, FILE *__restrict __stream) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* This function does the same as `fputs' but does not lock the stream. */ extern int fputs_unlocked (__const char *__restrict __s, FILE *__restrict __stream) __THROW; @@ -579,7 +579,7 @@ extern int sys_nerr; extern __const char *__const sys_errlist[]; #endif #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ extern int _sys_nerr; extern __const char *__const _sys_errlist[]; #endif @@ -621,7 +621,7 @@ extern char *cuserid (char *__s) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ struct obstack; /* See . */ /* Write formatted output to an obstack. */ diff --git a/include/stdlib.h b/include/stdlib.h index ac5bf3973..dbbc5c2ee 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -195,7 +195,7 @@ extern unsigned long long int strtoull (__const char *__restrict __nptr, #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* The concept of one static locale per category is not very well thought out. Many applications will need to process its data using information from several different locales. Another application is @@ -661,7 +661,7 @@ extern int system (__const char *__command) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Return a malloc'd string containing the canonical absolute name of the named file. The last file name component need not exist, and may be a symlink to a nonexistent file. */ @@ -848,7 +848,7 @@ extern char *ptsname (int __fd) __THROW; #endif #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Store at most BUFLEN characters of the pathname of the slave pseudo terminal associated with the master FD is open on in BUF. Return 0 on success, otherwise an error number. */ diff --git a/include/string.h b/include/string.h index 3b2f7cc81..22608b660 100644 --- a/include/string.h +++ b/include/string.h @@ -62,7 +62,7 @@ extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) extern void *memchr (__const void *__s, int __c, size_t __n) __THROW __attribute_pure__; -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ #if 0 /* Search in S for C. This is similar to `memchr' but there is no length limit. */ @@ -103,7 +103,7 @@ extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* The following functions are equivalent to the both above but they take the locale they use for the collation as an extra argument. This is not standardsized but something like will come. */ @@ -159,7 +159,7 @@ extern char *strchr (__const char *__s, int __c) __THROW __attribute_pure__; extern char *strrchr (__const char *__s, int __c) __THROW __attribute_pure__; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* This funciton is similar to `strchr'. But it returns a pointer to the closing NUL byte in case C is not found in S. */ extern char *strchrnul (__const char *__s, int __c) __THROW __attribute_pure__; @@ -266,7 +266,7 @@ extern int ffs (int __i) __THROW __attribute__ ((__const__)); /* The following two functions are non-standard but necessary for non-32 bit platforms. */ # if 0 -//# ifdef __USE_GNU +/*# ifdef __USE_GNU*/ extern int ffsl (long int __l) __THROW __attribute__ ((__const__)); # ifdef __GNUC__ __extension__ extern int ffsll (long long int __ll) @@ -284,7 +284,7 @@ extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) #endif /* Use BSD. */ #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Again versions of a few functions which use the given locale instead of the global one. */ extern int __strcasecmp_l (__const char *__s1, __const char *__s2, diff --git a/include/unistd.h b/include/unistd.h index 47a60b135..0f9942b2e 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -260,7 +260,7 @@ typedef __socklen_t socklen_t; extern int access (__const char *__name, int __type) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Test for access to NAME using the effective UID and GID (as normal file operations use). */ extern int euidaccess (__const char *__name, int __type) __THROW; @@ -424,7 +424,7 @@ extern int fchdir (int __fd) __THROW; extern char *getcwd (char *__buf, size_t __size) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Return a malloc'd string containing the current directory name. If the environment variable `PWD' is set, and its value is correct, that value is used. */ @@ -458,7 +458,7 @@ extern int execve (__const char *__path, char *__const __argv[], char *__const __envp[]) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Execute the file FD refers to, overlaying the running program image. ARGV and ENVP are passed to the new program, as for `execve'. */ extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) @@ -605,7 +605,7 @@ extern __gid_t getegid (void) __THROW; extern int getgroups (int __size, __gid_t __list[]) __THROW; #if 0 -//#ifdef __USE_GNU +/*#ifdef __USE_GNU*/ /* Return nonzero iff the calling process is in group GID. */ extern int group_member (__gid_t __gid) __THROW; #endif -- cgit v1.2.3