[BACK]Return to stdlib.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/stdlib.h between version 1.17 and 1.18

version 1.17, 2002/02/17 19:42:21 version 1.18, 2002/02/20 18:11:04
Line 92 
Line 92 
   
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
   
   /*
    * Some header files may define an abs macro.
    * If defined, undef it to prevent a syntax error and issue a warning.
    */
   #ifdef abs
   #undef abs
   #warning abs macro collides with abs() prototype, undefining
   #endif
   
 __BEGIN_DECLS  __BEGIN_DECLS
 __dead void      abort(void);  __dead void      abort(void);
 int      abs(int);  int      abs(int);
Line 116 
Line 125 
 void     srand(unsigned);  void     srand(unsigned);
 double   strtod(const char *, char **);  double   strtod(const char *, char **);
 long     strtol(const char *, char **, int);  long     strtol(const char *, char **, int);
   long long
            strtoll(const char *, char **, int);
 unsigned long  unsigned long
          strtoul(const char *, char **, int);           strtoul(const char *, char **, int);
   unsigned long long
            strtoull(const char *, char **, int);
 int      system(const char *);  int      system(const char *);
   
 /* these are currently just stubs */  /* these are currently just stubs */
Line 156 
Line 169 
   
 void     cfree(void *);  void     cfree(void *);
   
   #ifndef _GETOPT_DEFINED_
   #define _GETOPT_DEFINED_
 int      getopt(int, char * const *, const char *);  int      getopt(int, char * const *, const char *);
 extern   char *optarg;                  /* getopt(3) external variables */  extern   char *optarg;                  /* getopt(3) external variables */
 extern   int opterr;  extern   int opterr;
Line 164 
Line 179 
 extern   int optreset;  extern   int optreset;
 int      getsubopt(char **, char * const *, char **);  int      getsubopt(char **, char * const *, char **);
 extern   char *suboptarg;               /* getsubopt(3) external variable */  extern   char *suboptarg;               /* getsubopt(3) external variable */
   #endif /* _GETOPT_DEFINED_ */
   
 int      heapsort(void *, size_t, size_t, int (*)(const void *, const void *));  int      heapsort(void *, size_t, size_t, int (*)(const void *, const void *));
 int      mergesort(void *, size_t, size_t, int (*)(const void *, const void *));  int      mergesort(void *, size_t, size_t, int (*)(const void *, const void *));

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18