summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-12-08 12:44:27 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-12-08 12:44:27 -0500
commit9b935c823904ea9ef7366e928b9276a9b84ffa18 (patch)
treeeb3f5217706aef5ba915594a231288fd3ccf16e6 /shared
parentbde5e9fc0013a1ff75b18a2ec1d4d6e5b0aaa8d4 (diff)
downloadweston-9b935c823904ea9ef7366e928b9276a9b84ffa18.tar.gz
weston-9b935c823904ea9ef7366e928b9276a9b84ffa18.tar.bz2
weston-9b935c823904ea9ef7366e928b9276a9b84ffa18.zip
Use '-' to separate words in file names
Eventually we will want more functionality in the shared library and we will rename it at that point. Perhaps we'll name it libnih, but for now let's stick with libconfig-parser.
Diffstat (limited to 'shared')
-rw-r--r--shared/Makefile.am7
-rw-r--r--shared/config-parser.c (renamed from shared/configparser.c)2
-rw-r--r--shared/config-parser.h (renamed from shared/configparser.h)0
3 files changed, 5 insertions, 4 deletions
diff --git a/shared/Makefile.am b/shared/Makefile.am
index a964a04f..79568b65 100644
--- a/shared/Makefile.am
+++ b/shared/Makefile.am
@@ -1,3 +1,4 @@
-noinst_LTLIBRARIES = libconfigparser.la
-libconfigparser_la_SOURCES = configparser.c \
- configparser.h
+noinst_LTLIBRARIES = libconfig-parser.la
+libconfig_parser_la_SOURCES = \
+ config-parser.c \
+ config-parser.h
diff --git a/shared/configparser.c b/shared/config-parser.c
index 3deb89dd..3b8c5c20 100644
--- a/shared/configparser.c
+++ b/shared/config-parser.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <assert.h>
-#include "configparser.h"
+#include "config-parser.h"
static int
handle_key(const struct config_key *key, const char *value)
diff --git a/shared/configparser.h b/shared/config-parser.h
index 34f5c314..34f5c314 100644
--- a/shared/configparser.h
+++ b/shared/config-parser.h