From d04ca5a6d9a4e286ff2649fa864bacacdfad3e8f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 22 Oct 2004 14:09:12 +0000 Subject: [PATCH] 2004-10-22 Ralf Corsepius * libnetworking/kern/kern_sysctl.c: Remove uintptr_t. Cosmetics. * libnetworking/opt_compat.h: New. --- cpukit/ChangeLog | 3 +++ 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 * 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 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 #include @@ -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)