summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1998-12-19 00:02:34 +0000
committerdt <dt@FreeBSD.org>1998-12-19 00:02:34 +0000
commit5d9cc4426efefebd7e1d69e6bceb2e4f9375dc33 (patch)
tree4b0508f8f82e978bf36d246d2a18a3e70cbb7ee8 /include
parente5dfa4c78df5a8e86d2f8309e33fcb8bf68278b4 (diff)
downloadFreeBSD-src-5d9cc4426efefebd7e1d69e6bceb2e4f9375dc33.zip
FreeBSD-src-5d9cc4426efefebd7e1d69e6bceb2e4f9375dc33.tar.gz
Little reorganization:
- created internal names for fixed-size integral types, like __int32_t. They will be used to make several headers self-sufficient. - <stdlib.h> don't include <machine/types.h> anymore. - created <sys/inttypes.h>, which can be used as <inttypes.h>. - declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>. Reviewed by: bde
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index a78dafa..db30a5a 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -41,8 +41,6 @@
#include <machine/ansi.h>
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
-#include <machine/types.h>
-
#ifdef _BSD_RUNE_T_
typedef _BSD_RUNE_T_ rune_t;
#undef _BSD_RUNE_T_
@@ -132,7 +130,7 @@ void srand48 __P((long));
void *alloca __P((size_t)); /* built-in for gcc */
/* getcap(3) functions */
-u_int32_t
+__uint32_t
arc4random __P((void));
void arc4random_addrandom __P((unsigned char *dat, int datlen));
void arc4random_stir __P((void));
@@ -170,8 +168,8 @@ void srandom __P((unsigned long));
void srandomdev __P((void));
char *user_from_uid __P((unsigned long, int));
#ifndef __STRICT_ANSI__
-int64_t strtoq __P((const char *, char **, int));
-u_int64_t
+__int64_t strtoq __P((const char *, char **, int));
+__uint64_t
strtouq __P((const char *, char **, int));
#endif
void unsetenv __P((const char *));
OpenPOWER on IntegriCloud