bae272fe22
This patch simply eliminates that glibc specific macro from all header files which contain no public callable functions. After all, if user code can't link to them, then protection from C++ name mangling is unnecessary. [ we also remove any related '#include <features.h>' ] Signed-off-by: Jim Warner <james.warner@comcast.net>
34 lines
1.0 KiB
C
34 lines
1.0 KiB
C
#ifndef PROC_SIG_H
|
|
#define PROC_SIG_H
|
|
/*
|
|
* Copyright 1998-2003 by Albert Cahalan; all rights resered.
|
|
* This file may be used subject to the terms and conditions of the
|
|
* GNU Library General Public License Version 2, or any later version
|
|
* at your option, as published by the Free Software Foundation.
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Library General Public License for more details.
|
|
*/
|
|
|
|
extern const int number_of_signals;
|
|
|
|
extern const char *get_sigtable_name(int row);
|
|
|
|
extern const int get_sigtable_num(int row);
|
|
|
|
/* return -1 on failure */
|
|
extern int signal_name_to_number(const char *__restrict name);
|
|
|
|
extern const char *signal_number_to_name(int signo);
|
|
|
|
extern int skill_sig_option(int *argc, char **argv);
|
|
|
|
extern char *strtosig(const char *restrict s);
|
|
|
|
extern void pretty_print_signals(void);
|
|
|
|
extern void unix_print_signals(void);
|
|
|
|
#endif
|