mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/kern/kern_sysctl.c: Remove uintptr_t. Cosmetics. * libnetworking/opt_compat.h: New.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user