OSDN Git Service

Get rid of missing prototype warnings
[uclinux-h8/uClibc.git] / libc / signal / raise.c
1 /* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
2  * This file is part of the Linux-8086 C library and is distributed
3  * under the GNU Library General Public License.
4  */
5
6 #include <unistd.h>
7 #include <string.h>
8 #include <signal.h>
9 #include <sys/types.h>
10
11
12 libc_hidden_proto(getpid)
13 libc_hidden_proto(kill)
14
15 int __raise (int signo)  attribute_hidden;
16 int __raise(int signo)
17 {
18     return kill(getpid(), signo);
19 }
20 libc_hidden_proto(raise)
21 weak_alias(__raise,raise)
22 libc_hidden_def(raise)