From 2b3043e578f00a5071dfae40c237b86cc6d70c7e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 10 Apr 2014 19:42:06 +0200 Subject: Use #pragma once --- src/config.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index e319973..a13ddc0 100644 --- a/src/config.h +++ b/src/config.h @@ -24,8 +24,7 @@ */ -#ifndef _FASTD_CONFIG_H_ -#define _FASTD_CONFIG_H_ +#pragma once #include "fastd.h" @@ -47,5 +46,3 @@ void fastd_config_verify(fastd_context_t *ctx, fastd_config_t *conf); void fastd_add_peer_dir(fastd_context_t *ctx, fastd_config_t *conf, const char *dir); bool fastd_read_config(fastd_context_t *ctx, fastd_config_t *conf, const char *filename, bool peer_config, int depth); - -#endif /* _FASTD_CONFIG_H_ */ -- cgit v1.2.3