mirror of git://sourceware.org/git/glibc.git
* sysdeps/mach/sys/reboot.h: Include <features.h>.
(reboot): Declare it.
This commit is contained in:
parent
1c479f72fe
commit
54f6cbb379
|
@ -1,5 +1,8 @@
|
|||
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
|
||||
|
||||
* sysdeps/mach/sys/reboot.h: Include <features.h>.
|
||||
(reboot): Declare it.
|
||||
|
||||
* libio/Makefile (headers): Add bits/stdio-lock.h here.
|
||||
|
||||
* sysdeps/mach/hurd/bits/stdio-lock.h: New file.
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
|
||||
|
||||
* sysdeps/pthread/Makefile: File removed.
|
||||
|
||||
2000-03-23 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* mutex.c (__pthread_reset_pthread_once): Reset once_masterlock.
|
||||
|
|
|
@ -50,13 +50,14 @@ typedef struct _IO_cthreads_lock _IO_lock_t;
|
|||
#define _IO_lock_lock(_name) __libc_lock_lock ((_name).mutex)
|
||||
#define _IO_lock_unlock(_name) __libc_lock_unlock ((_name).mutex)
|
||||
|
||||
|
||||
#ifdef _LIBC
|
||||
#include <bits/libc-lock.h>
|
||||
|
||||
#define _IO_cleanup_region_start(_fct, _fp) \
|
||||
__libc_cleanup_region_start (_fct, _fp)
|
||||
#define _IO_cleanup_region_end(_doit) \
|
||||
__libc_cleanup_region_end (_doit)
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* bits/stdio-lock.h */
|
||||
|
|
|
@ -26,6 +26,12 @@
|
|||
/*
|
||||
* HISTORY
|
||||
* $Log$
|
||||
* Revision 1.3 2000/03/27 04:09:08 roland
|
||||
* 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
|
||||
*
|
||||
* * sysdeps/mach/sys/reboot.h: Include <features.h>.
|
||||
* (reboot): Declare it.
|
||||
*
|
||||
* Revision 1.2 1998/05/29 10:19:59 drepper
|
||||
* Use __ASSEMBLER__ test macro not ASSEMBLER.
|
||||
*
|
||||
|
@ -83,6 +89,8 @@
|
|||
#ifndef _SYS_REBOOT_H_
|
||||
#define _SYS_REBOOT_H_
|
||||
|
||||
#include <features.h>
|
||||
|
||||
/*
|
||||
* Arguments to reboot system call.
|
||||
* These are converted to switches, and passed to startup program,
|
||||
|
@ -150,4 +158,12 @@ extern int boothowto;
|
|||
#endif /* __ASSEMBLER__ */
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/* Reboot or halt the system. */
|
||||
extern int reboot (int __howto) __THROW;
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
#endif /* _SYS_REBOOT_H_ */
|
||||
|
|
Loading…
Reference in New Issue