diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-10-26 22:16:34 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-10-26 22:16:34 +0000 |
commit | 2556eb8d41afaead7dd979ae52d6f6c0d61c88b3 (patch) | |
tree | ebd3640745b6e171fff2fce991367cf5ac5850a5 /newlib/libc/sys/linux | |
parent | c9d71a8d46f0ac46c242e03b063a04c0c9bb4e7a (diff) | |
download | cygnal-2556eb8d41afaead7dd979ae52d6f6c0d61c88b3.tar.gz cygnal-2556eb8d41afaead7dd979ae52d6f6c0d61c88b3.tar.bz2 cygnal-2556eb8d41afaead7dd979ae52d6f6c0d61c88b3.zip |
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.
Diffstat (limited to 'newlib/libc/sys/linux')
-rw-r--r-- | newlib/libc/sys/linux/linuxthreads/bits/libc-lock.h | 1 | ||||
-rw-r--r-- | newlib/libc/sys/linux/sys/lock.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/linuxthreads/bits/libc-lock.h b/newlib/libc/sys/linux/linuxthreads/bits/libc-lock.h index 125002255..84f91d569 100644 --- a/newlib/libc/sys/linux/linuxthreads/bits/libc-lock.h +++ b/newlib/libc/sys/linux/linuxthreads/bits/libc-lock.h @@ -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 diff --git a/newlib/libc/sys/linux/sys/lock.h b/newlib/libc/sys/linux/sys/lock.h index 167392e10..d934031e2 100644 --- a/newlib/libc/sys/linux/sys/lock.h +++ b/newlib/libc/sys/linux/sys/lock.h @@ -1,7 +1,6 @@ #ifndef __SYS_LOCK_H__ #define __SYS_LOCK_H__ -#include <machine/weakalias.h> #include <features.h> #define _LIBC 1 |