SCCS-vsn: lib/libc/stdlib/Makefile.inc 5.6
SCCS-vsn: include/stdlib.h 5.13
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)stdlib.h 5.12 (Berkeley) %G%
+ * @(#)stdlib.h 5.13 (Berkeley) %G%
int getopt __P((int, char * const *, const char *));
extern char *suboptarg; /* getsubopt(3) external variable */
int getsubopt __P((char **, char * const *, char **));
int getopt __P((int, char * const *, const char *));
extern char *suboptarg; /* getsubopt(3) external variable */
int getsubopt __P((char **, char * const *, char **));
+int heapsort __P((void *, size_t, size_t,
+ int (*)(const void *, const void *)));
char *initstate __P((unsigned, char *, int));
int radixsort __P((const u_char **, int, const u_char *, u_char));
long random __P((void));
char *initstate __P((unsigned, char *, int));
int radixsort __P((const u_char **, int, const u_char *, u_char));
long random __P((void));
-# @(#)Makefile.inc 5.5 (Berkeley) %G%
+# @(#)Makefile.inc 5.6 (Berkeley) %G%
# stdlib sources
.PATH: ${.CURDIR}/${MACHINE}/stdlib ${.CURDIR}/stdlib
SRCS+= abort.c atexit.c atoi.c atol.c bsearch.c calloc.c div.c exit.c \
# stdlib sources
.PATH: ${.CURDIR}/${MACHINE}/stdlib ${.CURDIR}/stdlib
SRCS+= abort.c atexit.c atoi.c atol.c bsearch.c calloc.c div.c exit.c \
- getenv.c getopt.c labs.c ldiv.c malloc.c multibyte.c putenv.c \
- qsort.c radixsort.c rand.c random.c setenv.c strtol.c strtoul.c \
- system.c
+ getenv.c getopt.c heapsort.c labs.c ldiv.c malloc.c multibyte.c \
+ putenv.c qsort.c radixsort.c rand.c random.c setenv.c strtol.c \
+ strtoul.c system.c
.if (${MACHINE} == "hp300")
SRCS+= abs.s atof.c
.if (${MACHINE} == "hp300")
SRCS+= abs.s atof.c
strtod.0 strtol.0 strtoul.0 system.0
MLINKS+=getenv.3 setenv.3 getenv.3 unsetenv.3 getenv.3 putenv.3
strtod.0 strtol.0 strtoul.0 system.0
MLINKS+=getenv.3 setenv.3 getenv.3 unsetenv.3 getenv.3 putenv.3
+MLINKS+=qsort.3 heapsort.3
MLINKS+=rand.3 srand.3
MLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3
MLINKS+=rand.3 srand.3
MLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3