diff options
Diffstat (limited to 'libc/sysdeps/linux/hppa')
| -rw-r--r-- | libc/sysdeps/linux/hppa/bits/kernel_sigaction.h | 7 | ||||
| -rw-r--r-- | libc/sysdeps/linux/hppa/brk.c | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/hppa/bits/kernel_sigaction.h b/libc/sysdeps/linux/hppa/bits/kernel_sigaction.h index cccaabbb9..4ae53fd3c 100644 --- a/libc/sysdeps/linux/hppa/bits/kernel_sigaction.h +++ b/libc/sysdeps/linux/hppa/bits/kernel_sigaction.h @@ -1,3 +1,6 @@ +#ifndef _BITS_SIGACTION_STRUCT_H +#define _BITS_SIGACTION_STRUCT_H + /* We have a separate header file here because we do not support SA_RESTORER on hppa. */ @@ -18,4 +21,6 @@ struct kernel_sigaction { }; extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded, - struct kernel_sigaction *__unbounded, size_t); + struct kernel_sigaction *__unbounded, size_t) attribute_hidden; + +#endif diff --git a/libc/sysdeps/linux/hppa/brk.c b/libc/sysdeps/linux/hppa/brk.c index 52d0b4c74..b57c3328a 100644 --- a/libc/sysdeps/linux/hppa/brk.c +++ b/libc/sysdeps/linux/hppa/brk.c @@ -24,10 +24,7 @@ libc_hidden_proto(brk) /* This must be initialized data because commons can't have aliases. */ -extern void *__curbrk; -libc_hidden_proto(__curbrk) void *__curbrk = 0; -libc_hidden_data_def(__curbrk) int brk (void *addr) |
