2003-09-04 Dave Brolley <brolley@redhat.com>
[deliverable/binutils-gdb.git] / libiberty / argv.c
index ede61cb541be5751a6d9d666e7f5b790607f34bf..31d8ef55e266f56df7f36f56f9e83753c5c9d572 100644 (file)
@@ -29,13 +29,13 @@ Boston, MA 02111-1307, USA.  */
 
 /*  Routines imported from standard C runtime libraries. */
 
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
 
 #include <stddef.h>
 #include <string.h>
 #include <stdlib.h>
 
-#else  /* !__STDC__ */
+#else  /* !ANSI_PROTOTYPES */
 
 #if !defined _WIN32 || defined __GNUC__
 extern char *memcpy ();                /* Copy memory region */
@@ -46,7 +46,7 @@ extern void free ();          /* Free malloc'd memory */
 extern char *strdup ();                /* Duplicate a string */
 #endif
 
-#endif /* __STDC__ */
+#endif /* ANSI_PROTOTYPES */
 
 
 #ifndef NULL
@@ -66,7 +66,7 @@ extern char *strdup ();               /* Duplicate a string */
 
 Duplicate an argument vector.  Simply scans through @var{vector},
 duplicating each argument until the terminating @code{NULL} is found.
-Returns a pointer to the argument vector if successful. Returns
+Returns a pointer to the argument vector if successful.  Returns
 @code{NULL} if there is insufficient memory to complete building the
 argument vector.
 
@@ -150,7 +150,7 @@ is obtained from @code{malloc}.  All of the memory can be returned to the
 system with the single function call @code{freeargv}, which takes the
 returned result of @code{buildargv}, as it's argument.
 
-Returns a pointer to the argument vector if successful. Returns
+Returns a pointer to the argument vector if successful.  Returns
 @code{NULL} if @var{sp} is @code{NULL} or if there is insufficient
 memory to complete building the argument vector.
 
This page took 0.027887 seconds and 4 git commands to generate.