aboutsummaryrefslogtreecommitdiffstats
path: root/libconfig
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2011-10-13 02:00:41 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2011-10-13 02:00:41 +0100
commite60a7cc135af7ee738d67ecc7bd02ce18963ace6 (patch)
treec6e8ee2ea6fe37547c7aeb68bbcd96f7c20b2fbb /libconfig
parent6cfbf2dee130cc36a72d57adea0e9c04bb31f620 (diff)
downloadverteco-e60a7cc135af7ee738d67ecc7bd02ce18963ace6.tar.gz
Integrate libmodbus and libconfig
Diffstat (limited to 'libconfig')
-rw-r--r--libconfig/example1.c2
-rw-r--r--libconfig/jmccrohan-example.c2
-rwxr-xr-xlibconfig/myprogrambin9968 -> 0 bytes
3 files changed, 4 insertions, 0 deletions
diff --git a/libconfig/example1.c b/libconfig/example1.c
index 56661f3..8909884 100644
--- a/libconfig/example1.c
+++ b/libconfig/example1.c
@@ -38,6 +38,8 @@ int main(int argc, char **argv)
config_init(&cfg);
+fprintf(stderr, "__FILE__");
+
/* Read the file. If there is an error, report it and exit. */
if(! config_read_file(&cfg, "example.cfg"))
{
diff --git a/libconfig/jmccrohan-example.c b/libconfig/jmccrohan-example.c
index 1dbb6da..73fd3e8 100644
--- a/libconfig/jmccrohan-example.c
+++ b/libconfig/jmccrohan-example.c
@@ -14,6 +14,8 @@ int main(int argc, char **argv)
config_init(&cfg);
+fprintf(stderr, "__FILE__");
+
/* Read the file. If there is an error, report it and exit. */
if(! config_read_file(&cfg, "CONFIG_FILE"))
{
diff --git a/libconfig/myprogram b/libconfig/myprogram
deleted file mode 100755
index 8e28bdd..0000000
--- a/libconfig/myprogram
+++ /dev/null
Binary files differ