diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-10 19:42:06 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-10 19:42:06 +0200 |
commit | 2b3043e578f00a5071dfae40c237b86cc6d70c7e (patch) | |
tree | 2c7876ce55f85fcbbd58e980dee7ae474b24fe19 /src/log.h | |
parent | 4ab823eb500a8a63061eb23581e73ff9d8bffce1 (diff) | |
download | fastd-2b3043e578f00a5071dfae40c237b86cc6d70c7e.tar fastd-2b3043e578f00a5071dfae40c237b86cc6d70c7e.zip |
Use #pragma once
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -24,8 +24,7 @@ */ -#ifndef _FASTD_LOG_H_ -#define _FASTD_LOG_H_ +#pragma once #include "types.h" @@ -55,6 +54,3 @@ void fastd_logf(const fastd_context_t *ctx, fastd_loglevel_t level, const char * #define exit_bug(ctx, message) exit_fatal(ctx, "BUG: %s", message) #define exit_error(ctx, args...) do { pr_error(ctx, args); exit(1); } while(0) #define exit_errno(ctx, message) exit_error(ctx, "%s: %s", message, strerror(errno)) - -#endif /* _FASTD_LOG_H_ */ - |