]> git.pld-linux.org Git - packages/gperftools.git/blob - gperftools-glibc216-siginfo_t.patch
Update to 2.0 and rename to gperftools
[packages/gperftools.git] / gperftools-glibc216-siginfo_t.patch
1 --- gperftools-2.0/src/base/linux_syscall_support.h.siginfo     2013-02-14 17:32:25.296428346 +0100
2 +++ gperftools-2.0/src/base/linux_syscall_support.h     2013-02-14 17:34:46.582329601 +0100
3 @@ -243,14 +243,13 @@ struct kernel_rusage {
4    long               ru_nivcsw;
5  };
6  
7 -struct siginfo;
8  #if defined(__i386__) || defined(__arm__) || defined(__PPC__)
9  
10  /* include/asm-{arm,i386,mips,ppc}/signal.h                                  */
11  struct kernel_old_sigaction {
12    union {
13      void             (*sa_handler_)(int);
14 -    void             (*sa_sigaction_)(int, struct siginfo *, void *);
15 +    void             (*sa_sigaction_)(int, siginfo_t *, void *);
16    };
17    unsigned long      sa_mask;
18    unsigned long      sa_flags;
19 @@ -287,13 +286,13 @@ struct kernel_sigaction {
20    unsigned long      sa_flags;
21    union {
22      void             (*sa_handler_)(int);
23 -    void             (*sa_sigaction_)(int, struct siginfo *, void *);
24 +    void             (*sa_sigaction_)(int, siginfo_t *, void *);
25    };
26    struct kernel_sigset_t sa_mask;
27  #else
28    union {
29      void             (*sa_handler_)(int);
30 -    void             (*sa_sigaction_)(int, struct siginfo *, void *);
31 +    void             (*sa_sigaction_)(int, siginfo_t *, void *);
32    };
33    unsigned long      sa_flags;
34    void               (*sa_restorer)(void);
This page took 0.131836 seconds and 3 git commands to generate.