diff options
-rw-r--r-- | cpukit/ChangeLog | 3 | ||||
-rw-r--r-- | cpukit/libnetworking/kern/kern_sysctl.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index fd34317004..5a880ccfc9 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,6 +1,9 @@ 2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org> * libcsupport/include/stdint.h: Add intptr_t uintptr_t. + * libnetworking/kern/kern_sysctl.c: Remove uintptr_t. + Cosmetics. + * libnetworking/opt_compat.h: New. 2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org> diff --git a/cpukit/libnetworking/kern/kern_sysctl.c b/cpukit/libnetworking/kern/kern_sysctl.c index effb0fa271..7f8be80b48 100644 --- a/cpukit/libnetworking/kern/kern_sysctl.c +++ b/cpukit/libnetworking/kern/kern_sysctl.c @@ -36,10 +36,8 @@ * $FreeBSD: src/sys/kern/kern_sysctl.c,v 1.135 2002/10/27 07:12:34 rwatson Exp $ */ -#ifndef __rtems__ #include "opt_compat.h" #include "opt_mac.h" -#endif #include <sys/param.h> #include <sys/systm.h> @@ -74,8 +72,6 @@ static MALLOC_DEFINE(M_SYSCTLTMP, "sysctltmp", "sysctl temp output buffer"); #define M_SYSCTLTMP 2 #define M_ZERO 0 -typedef unsigned long *uintptr_t; - #define mtx_lock(l) #define mtx_unlock(l) |