2005-10-26 Shaun Jackman <sjackman@gmail.com>
* libc/posix/scandir.c (scandir): Update the function prototype to match the header. * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an extraneous #endif. * libc/sys/linux/sys/lock.h: Do not include machine/weakalias.h, since it's not used by this file.
This commit is contained in:
@ -287,7 +287,6 @@ extern int __pthread_atfork (void (*__prepare) (void),
|
||||
# pragma weak __pthread_atfork
|
||||
# pragma weak _pthread_cleanup_push_defer
|
||||
# pragma weak _pthread_cleanup_pop_restore
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* We need portable names for some functions. E.g., when they are
|
||||
|
@ -1,7 +1,6 @@
|
||||
#ifndef __SYS_LOCK_H__
|
||||
#define __SYS_LOCK_H__
|
||||
|
||||
#include <machine/weakalias.h>
|
||||
#include <features.h>
|
||||
|
||||
#define _LIBC 1
|
||||
|
Reference in New Issue
Block a user