1
0
Fork 0
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:
Stefano Brivio 2022-03-26 00:05:31 +01:00
parent bb70811183
commit 965f603238
15 changed files with 75 additions and 0 deletions

5
util.h
View file

@ -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 */