summaryrefslogtreecommitdiffstats
path: root/src/libknot/tsig-op.h
diff options
context:
space:
mode:
authorJan Vcelak <jan.vcelak@nic.cz>2014-05-30 16:14:30 +0200
committerJan Vcelak <jan.vcelak@nic.cz>2014-05-30 16:23:13 +0200
commita0c11d9298148612d17a0ffef5e13d65495df782 (patch)
tree26b4d3197c4170830d70412c95abffa5d08f3339 /src/libknot/tsig-op.h
parentMerge branch 'dnssec-rotation-fix' into 'master' (diff)
downloadknot-a0c11d9298148612d17a0ffef5e13d65495df782.tar.xz
knot-a0c11d9298148612d17a0ffef5e13d65495df782.zip
Use #pragma once as include guards
This Is Pragmaaa!
Diffstat (limited to 'src/libknot/tsig-op.h')
-rw-r--r--src/libknot/tsig-op.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libknot/tsig-op.h b/src/libknot/tsig-op.h
index 3d866e6a4..17bf4dbd6 100644
--- a/src/libknot/tsig-op.h
+++ b/src/libknot/tsig-op.h
@@ -24,8 +24,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _KNOT_TSIG_OP_H_
-#define _KNOT_TSIG_OP_H_
+#pragma once
#include <stdint.h>
@@ -173,6 +172,4 @@ static inline bool knot_tsig_can_sign(uint16_t tsig_rcode) {
return (tsig_rcode == KNOT_RCODE_NOERROR || tsig_rcode == KNOT_RCODE_BADTIME);
}
-#endif /* _KNOT_TSIG_H_ */
-
/*! @} */