From 08827265399f3f69f7f25512e991f67da5bbac63 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 4 Jan 2013 11:30:22 +0100 Subject: Change function prefixes according to projet namechange. --- main_simple.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'main_simple.cc') diff --git a/main_simple.cc b/main_simple.cc index c83cc05..c555fde 100644 --- a/main_simple.cc +++ b/main_simple.cc @@ -40,17 +40,17 @@ int main(int argc, char *argv[]) return 1; } - dbg_status_t status = dbg_init(DBG_FLAG_OUTPUT_TO_FILE | - DBG_FLAG_OUTPUT_TO_FD | - DBG_FLAG_OUTPUT_TO_STDOUT | - DBG_FLAG_OUTPUT_TO_STDERR | + hug_status_t status = hug_init(HUG_FLAG_OUTPUT_TO_FILE | + HUG_FLAG_OUTPUT_TO_FD | + HUG_FLAG_OUTPUT_TO_STDOUT | + HUG_FLAG_OUTPUT_TO_STDERR | 0, - DBG_OPTION_FD, fd, - DBG_OPTION_FILENAME, "/tmp/my2.log", - DBG_OPTION_STDOUT_NO_DATE, 0, - DBG_OPTION_END); + HUG_OPTION_FD, fd, + HUG_OPTION_FILENAME, "/tmp/my2.log", + HUG_OPTION_STDOUT_NO_DATE, 0, + HUG_OPTION_END); - if(status != DBG_STATUS_OK) { + if(status != HUG_STATUS_OK) { printf("Error: %d\n", status); return 1; } @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) DEBUG(foo, "Or are we %d?", 42); - dbg_close(); + hug_close(); return 0; } -- cgit v1.2.3