Don't include <sys/cdefs.h> twice. Also, don't include <signal.h> or
<unistd.h>. These headers are not needed, and if included now, cause a compile error since the exported and renamed type is different.
This commit is contained in:
parent
e1f67632f8
commit
2d77af5ffd
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: siglist.c,v 1.10 1998/09/26 23:53:36 christos Exp $ */
|
||||
/* $NetBSD: siglist.c,v 1.11 1998/11/30 20:42:44 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
@ -38,14 +38,11 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)siglist.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: siglist.c,v 1.10 1998/09/26 23:53:36 christos Exp $");
|
||||
__RCSID("$NetBSD: siglist.c,v 1.11 1998/11/30 20:42:44 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <signal.h>
|
||||
|
||||
const char *const _sys_siglist[SIGUSR2+1] = {
|
||||
const char *const _sys_siglist[] = {
|
||||
"Signal 0",
|
||||
"Hangup", /* SIGHUP */
|
||||
"Interrupt", /* SIGINT */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: signame.c,v 1.8 1998/09/26 23:50:40 christos Exp $ */
|
||||
/* $NetBSD: signame.c,v 1.9 1998/11/30 20:42:44 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983 Regents of the University of California.
|
||||
@ -38,14 +38,11 @@
|
||||
#if 0
|
||||
static char sccsid[] = "from: @(#)siglist.c 5.6 (Berkeley) 2/23/91";*/
|
||||
#else
|
||||
__RCSID("$NetBSD: signame.c,v 1.8 1998/09/26 23:50:40 christos Exp $");
|
||||
__RCSID("$NetBSD: signame.c,v 1.9 1998/11/30 20:42:44 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
|
||||
const char *const sys_signame[SIGUSR2+1] = {
|
||||
const char *const sys_signame[] = {
|
||||
"Signal 0",
|
||||
"HUP", /* SIGHUP */
|
||||
"INT", /* SIGINT */
|
||||
|
Loading…
Reference in New Issue
Block a user