Add missing include guards
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
bf448fc6a1
commit
4c6aa23dba
@ -22,6 +22,8 @@
|
|||||||
* MA 02110-1301, USA.
|
* MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef SYSKLOGD_KLOGD_H_
|
||||||
|
#define SYSKLOGD_KLOGD_H_
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
@ -32,3 +34,5 @@ extern int InitMsyms(void);
|
|||||||
extern char *ExpandKadds(char *, char *);
|
extern char *ExpandKadds(char *, char *);
|
||||||
extern void SetParanoiaLevel(int);
|
extern void SetParanoiaLevel(int);
|
||||||
extern void Syslog(int priority, char *fmt, ...);
|
extern void Syslog(int priority, char *fmt, ...);
|
||||||
|
|
||||||
|
#endif /* SYSKLOGD_KLOGD_H_ */
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
* MA 02110-1301, USA.
|
* MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef SYSKLOGD_KSYMS_H_
|
||||||
|
#define SYSKLOGD_KSYMS_H_
|
||||||
|
|
||||||
struct symbol {
|
struct symbol {
|
||||||
char *name;
|
char *name;
|
||||||
@ -32,3 +34,5 @@ struct symbol {
|
|||||||
|
|
||||||
extern char *LookupSymbol(unsigned long, struct symbol *);
|
extern char *LookupSymbol(unsigned long, struct symbol *);
|
||||||
extern char *LookupModuleSymbol(unsigned long int, struct symbol *);
|
extern char *LookupModuleSymbol(unsigned long int, struct symbol *);
|
||||||
|
|
||||||
|
#endif /* SYSKLOGD_KSYMS_H_ */
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
* MA 02110-1301, USA.
|
* MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef SYSKLOGD_MODULE_H_
|
||||||
|
#define SYSKLOGD_MODULE_H_
|
||||||
|
|
||||||
struct sym_table {
|
struct sym_table {
|
||||||
unsigned long value;
|
unsigned long value;
|
||||||
@ -36,3 +38,4 @@ struct Module {
|
|||||||
char *name;
|
char *name;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* SYSKLOGD_MODULE_H_ */
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
* MA 02110-1301, USA.
|
* MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef SYSKLOGD_PIDFILE_H_
|
||||||
|
#define SYSKLOGD_PIDFILE_H_
|
||||||
|
|
||||||
/* read_pid
|
/* read_pid
|
||||||
*
|
*
|
||||||
* Reads the specified pidfile and returns the read pid.
|
* Reads the specified pidfile and returns the read pid.
|
||||||
@ -58,3 +61,5 @@ int touch_pid (char *pidfile);
|
|||||||
* is returned
|
* is returned
|
||||||
*/
|
*/
|
||||||
int remove_pid (char *pidfile);
|
int remove_pid (char *pidfile);
|
||||||
|
|
||||||
|
#endif /* SYSKLOGD_PIDFILE_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user