conf: fix include-protection name

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>
This commit is contained in:
David Herrmann 2013-02-05 12:36:48 +01:00
parent 6a674402ea
commit 8a00e39854
2 changed files with 8 additions and 7 deletions

View 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

View 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
@ -27,11 +27,12 @@
* 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 */