diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-10-13 02:00:41 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-10-13 02:00:41 +0100 |
commit | e60a7cc135af7ee738d67ecc7bd02ce18963ace6 (patch) | |
tree | c6e8ee2ea6fe37547c7aeb68bbcd96f7c20b2fbb /libconfig | |
parent | 6cfbf2dee130cc36a72d57adea0e9c04bb31f620 (diff) | |
download | verteco-e60a7cc135af7ee738d67ecc7bd02ce18963ace6.tar.gz |
Integrate libmodbus and libconfig
Diffstat (limited to 'libconfig')
-rw-r--r-- | libconfig/example1.c | 2 | ||||
-rw-r--r-- | libconfig/jmccrohan-example.c | 2 | ||||
-rwxr-xr-x | libconfig/myprogram | bin | 9968 -> 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 Binary files differdeleted file mode 100755 index 8e28bdd..0000000 --- a/libconfig/myprogram +++ /dev/null |