Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102662361
D31827.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
613 B
Referenced Files
None
Subscribers
None
D31827.diff
View Options
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -1180,9 +1180,14 @@
struct sysctl_req *);
#else /* !_KERNEL */
#include <sys/cdefs.h>
+#include <sys/_types.h>
+#ifndef _SIZE_T_DECLARED
+typedef __size_t size_t;
+#define _SIZE_T_DECLARED
+#endif
__BEGIN_DECLS
-int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
+int sysctl(const int *, unsigned int, void *, size_t *, const void *, size_t);
int sysctlbyname(const char *, void *, size_t *, const void *, size_t);
int sysctlnametomib(const char *, int *, size_t *);
__END_DECLS
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 12:43 PM (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14658891
Default Alt Text
D31827.diff (613 B)
Attached To
Mode
D31827: sysctl: make sys/sysctl.h self contained
Attached
Detach File
Event Timeline
Log In to Comment