diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-10-22 14:09:12 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-10-22 14:09:12 +0000 |
commit | d04ca5a6d9a4e286ff2649fa864bacacdfad3e8f (patch) | |
tree | b50d1ec9b0fca8c299a5dbe97b8dcf6ac656b839 | |
parent | 2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-d04ca5a6d9a4e286ff2649fa864bacacdfad3e8f.tar.bz2 |
2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/kern/kern_sysctl.c: Remove uintptr_t.
Cosmetics.
* libnetworking/opt_compat.h: New.
-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) |