mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
Update.
2002-11-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent warnings from the kernel headers.
This commit is contained in:
parent
a2d80f9ade
commit
d97426b7d7
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-05 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent
|
||||||
|
warnings from the kernel headers.
|
||||||
|
|
||||||
2002-11-05 Roland McGrath <roland@redhat.com>
|
2002-11-05 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
|
* sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1996, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1999, 2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -17,16 +17,19 @@
|
|||||||
02111-1307 USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#ifndef _SYS_SYSCTL_H
|
#ifndef _SYS_SYSCTL_H
|
||||||
|
|
||||||
#define _SYS_SYSCTL_H 1
|
#define _SYS_SYSCTL_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
|
||||||
|
|
||||||
#define __need_size_t
|
#define __need_size_t
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
/* Prevent more kernel headers than necessary to be included. */
|
||||||
|
#define _LINUX_KERNEL_H 1
|
||||||
|
#define _LINUX_TYPES_H 1
|
||||||
|
#define _LINUX_LIST_H 1
|
||||||
#include <linux/sysctl.h>
|
#include <linux/sysctl.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Read or write system parameters. */
|
/* Read or write system parameters. */
|
||||||
extern int sysctl (int *__name, int __nlen, void *__oldval,
|
extern int sysctl (int *__name, int __nlen, void *__oldval,
|
||||||
size_t *__oldlenp, void *__newval, size_t __newlen) __THROW;
|
size_t *__oldlenp, void *__newval, size_t __newlen) __THROW;
|
||||||
|
Loading…
Reference in New Issue
Block a user