Browse Source

Eliminate C++ style comments

Eric Andersen 22 years ago
parent
commit
072938a98d
8 changed files with 23 additions and 23 deletions
  1. 1 1
      include/features.h
  2. 1 1
      include/gnu-versions.h
  3. 1 1
      include/langinfo.h
  4. 2 2
      include/stdint.h
  5. 6 6
      include/stdio.h
  6. 3 3
      include/stdlib.h
  7. 5 5
      include/string.h
  8. 4 4
      include/unistd.h

+ 1 - 1
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.
    <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
    which will always return failure (and set errno to ENOSYS).

+ 1 - 1
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

+ 1 - 1
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 <locale.h> for
    more information.  */
 

+ 2 - 2
include/stdint.h

@@ -24,9 +24,9 @@
 #define _STDINT_H	1
 
 #include <features.h>
-//#define __need_wchar_t
+/*#define __need_wchar_t*/
 #include <stddef.h>
-//#include <bits/wchar.h>
+/*#include <bits/wchar.h>*/
 #include <bits/wordsize.h>
 
 /* Exact integral types.  */

+ 6 - 6
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 <obstack.h>.  */
 
 /* Write formatted output to an obstack.  */

+ 3 - 3
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.  */

+ 5 - 5
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,

+ 4 - 4
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