conf: fix include-protection name
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 5 Feb 2013 11:36:48 +0000 (12:36 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 5 Feb 2013 11:38:45 +0000 (12:38 +0100)
We use CONF, not CONFIG as prefix so fix the include-protection to use
this, too.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/conf.c
src/conf.h

index cb4e6bf..8e34c9a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * App Configuration
  *
- * Copyright (c) 2012 David Herrmann <dh.herrmann@googlemail.com>
+ * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@googlemail.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files
@@ -42,7 +42,7 @@
 #include "log.h"
 #include "shl_misc.h"
 
-#define LOG_SUBSYSTEM "config"
+#define LOG_SUBSYSTEM "conf"
 
 /*
  * Config Contexts
index a0ddf64..9824c9a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Configuration Parsers
  *
- * Copyright (c) 2012 David Herrmann <dh.herrmann@googlemail.com>
+ * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@googlemail.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files
  * Configuration
  * This provides generic command-line argument and configuration file parsers
  * which can be used by different applications that are part of this
- * distribution.
+ * distribution. It provides most basic types but can be extended on the fly
+ * with more advanced types.
  */
 
-#ifndef CONFIG_CONFIG_H
-#define CONFIG_CONFIG_H
+#ifndef CONF_CONF_H
+#define CONF_CONF_H
 
 #include <stdbool.h>
 #include <stdlib.h>
@@ -199,4 +200,4 @@ struct conf_option {
 #define CONF_OPTION_GRAB(_short, _long, _mem, _def) \
        CONF_OPTION_GRAB_FULL(_short, _long, NULL, NULL, NULL, _mem, _def)
 
-#endif /* CONFIG_CONFIG_H */
+#endif /* CONF_CONF_H */