Without fixing the namespace issues, add prototypes for the new _Exit()
and qsort_r() functions. Fix one other missorted declaration.
This commit is contained in:
parent
f50b40bd4e
commit
0855f655f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103164
@ -92,6 +92,7 @@ extern int __mb_cur_max;
|
|||||||
#define MB_CUR_MAX __mb_cur_max
|
#define MB_CUR_MAX __mb_cur_max
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
void _Exit(int) __dead2;
|
||||||
void abort(void) __dead2;
|
void abort(void) __dead2;
|
||||||
int abs(int) __pure2;
|
int abs(int) __pure2;
|
||||||
int atexit(void (*)(void));
|
int atexit(void (*)(void));
|
||||||
@ -181,16 +182,18 @@ long long
|
|||||||
lldiv_t lldiv(long long, long long) __pure2;
|
lldiv_t lldiv(long long, long long) __pure2;
|
||||||
#endif
|
#endif
|
||||||
int mergesort(void *, size_t, size_t, int (*)(const void *, const void *));
|
int mergesort(void *, size_t, size_t, int (*)(const void *, const void *));
|
||||||
|
void qsort_r(void *, size_t, size_t, void *,
|
||||||
|
int (*)(void *, const void *, const void *));
|
||||||
int radixsort(const unsigned char **, int, const unsigned char *,
|
int radixsort(const unsigned char **, int, const unsigned char *,
|
||||||
unsigned);
|
unsigned);
|
||||||
int sradixsort(const unsigned char **, int, const unsigned char *,
|
|
||||||
unsigned);
|
|
||||||
int rand_r(unsigned *);
|
int rand_r(unsigned *);
|
||||||
long random(void);
|
long random(void);
|
||||||
void *reallocf(void *, size_t);
|
void *reallocf(void *, size_t);
|
||||||
char *realpath(const char *, char resolved_path[]);
|
char *realpath(const char *, char resolved_path[]);
|
||||||
void setprogname(const char *);
|
void setprogname(const char *);
|
||||||
char *setstate(char *);
|
char *setstate(char *);
|
||||||
|
int sradixsort(const unsigned char **, int, const unsigned char *,
|
||||||
|
unsigned);
|
||||||
void sranddev(void);
|
void sranddev(void);
|
||||||
void srandom(unsigned long);
|
void srandom(unsigned long);
|
||||||
void srandomdev(void);
|
void srandomdev(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user