diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-03-05 07:36:51 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:48:48 -0700 |
commit | fa548924d4bf723a310e040feaba3f417757de8a (patch) | |
tree | b4480e3e8031000ff7b1bd61ba0488e7446d9891 /klibc/include | |
parent | 733677e2c21b1ea3789c5296c84c1730d9ce498d (diff) |
[PATCH] klibc: version 0.211
Diffstat (limited to 'klibc/include')
-rw-r--r-- | klibc/include/arch/sparc/klibc/archsignal.h | 27 | ||||
-rw-r--r-- | klibc/include/sys/times.h | 4 |
2 files changed, 28 insertions, 3 deletions
diff --git a/klibc/include/arch/sparc/klibc/archsignal.h b/klibc/include/arch/sparc/klibc/archsignal.h index 6af3709033..3be67a2158 100644 --- a/klibc/include/arch/sparc/klibc/archsignal.h +++ b/klibc/include/arch/sparc/klibc/archsignal.h @@ -8,6 +8,31 @@ #ifndef _KLIBC_ARCHSIGNAL_H #define _KLIBC_ARCHSIGNAL_H -/* No special stuff for this architecture */ +/* Hidden definitions */ + +struct __new_sigaction { + __sighandler_t sa_handler; + unsigned long sa_flags; + void (*sa_restorer)(void); /* Not used by Linux/SPARC */ + __new_sigset_t sa_mask; +}; + +struct k_sigaction { + struct __new_sigaction sa; + void __user *ka_restorer; +}; + +struct __old_sigaction { + __sighandler_t sa_handler; + __old_sigset_t sa_mask; + unsigned long sa_flags; + void (*sa_restorer) (void); /* not used by Linux/SPARC */ +}; + +typedef struct sigaltstack { + void __user *ss_sp; + int ss_flags; + size_t ss_size; +} stack_t; #endif diff --git a/klibc/include/sys/times.h b/klibc/include/sys/times.h index 657f9c4b1c..dd86531669 100644 --- a/klibc/include/sys/times.h +++ b/klibc/include/sys/times.h @@ -5,10 +5,10 @@ #ifndef _SYS_TIMES_H #define _SYS_TIMES_H +#include <klibc/extern.h> +#include <sys/types.h> #include <linux/times.h> __extern clock_t times(struct tms *); -__extern int gettimeofday(struct timeval *, struct timezone *); -__extern int settimeofday(const struct timeval *, const struct timezone *); #endif /* _SYS_TIMES_H */ |