mirror of
https://passt.top/passt
synced 2025-06-17 20:55:34 +02:00
treewide: Add include guards
...at the moment, just for consistency with packet.h, icmp.h, tcp.h and udp.h. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
bb70811183
commit
965f603238
15 changed files with 75 additions and 0 deletions
5
util.h
5
util.h
|
@ -3,6 +3,9 @@
|
|||
* Author: Stefano Brivio <sbrivio@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef UTIL_H
|
||||
#define UTIL_H
|
||||
|
||||
void err(const char *format, ...);
|
||||
void warn(const char *format, ...);
|
||||
void info(const char *format, ...);
|
||||
|
@ -213,3 +216,5 @@ int ns_enter(struct ctx *c);
|
|||
void write_pidfile(int fd, pid_t pid);
|
||||
int __daemon(int pidfile_fd, int devnull_fd);
|
||||
int fls(unsigned long x);
|
||||
|
||||
#endif /* UTIL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue