OSDN Git Service

Last portion of libc_hidden_proto removal.
[uclinux-h8/uClibc.git] / libc / signal / raise.c
1 /* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
2  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
3  */
4
5 #include <unistd.h>
6 #include <string.h>
7 #include <signal.h>
8 #include <sys/types.h>
9
10
11 /* libc_hidden_proto(getpid) */
12 /* libc_hidden_proto(kill) */
13
14 int __raise (int signo)  attribute_hidden;
15 int __raise(int signo)
16 {
17     return kill(getpid(), signo);
18 }
19 /* libc_hidden_proto(raise) */
20 weak_alias(__raise,raise)
21 libc_hidden_def(raise)