From d38f42ffefb07c7ceae6e746026061cc5c62b579 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sun, 20 Sep 2009 18:02:10 +0300 Subject: [PATCH] common/debug.h -> log.h --- common.h | 2 +- common/safety.c | 2 +- daemon/appdb.c | 2 +- daemon/procfs.c | 2 +- daemon/proctitle.c | 4 ++-- daemon/sigsegv.c | 2 +- dbus/error.c | 1 - dbus/helpers.c | 2 +- graph_proxy.c | 1 - gui/graph_canvas.c | 2 -- jack_proxy.c | 1 - common/debug.h => log.h | 2 +- 12 files changed, 9 insertions(+), 14 deletions(-) rename common/debug.h => log.h (98%) diff --git a/common.h b/common.h index 6eca7bf1..ebc8a33e 100644 --- a/common.h +++ b/common.h @@ -41,6 +41,6 @@ #include "common/klist.h" #endif -#include "common/debug.h" /* log macros */ +#include "log.h" /* log macros */ #endif /* #ifndef COMMON_H__82C9504A_ACD2_435D_9743_781943473E6A__INCLUDED */ diff --git a/common/safety.c b/common/safety.c index bd3d609f..df9d90ad 100644 --- a/common/safety.c +++ b/common/safety.c @@ -33,7 +33,7 @@ #include #include "safety.h" -#include "debug.h" +#include "../log.h" void _lash_free(void **ptr) diff --git a/daemon/appdb.c b/daemon/appdb.c index 7e8925a4..f37719f9 100644 --- a/daemon/appdb.c +++ b/daemon/appdb.c @@ -32,7 +32,7 @@ #include #include "appdb.h" -#include "../common/debug.h" +#include "../log.h" #include "../catdup.h" void diff --git a/daemon/procfs.c b/daemon/procfs.c index 9c37af62..bbefa83c 100644 --- a/daemon/procfs.c +++ b/daemon/procfs.c @@ -35,7 +35,7 @@ #include #include "procfs.h" -#include "../common/debug.h" +#include "../log.h" #define BUFFER_SIZE 4096 diff --git a/daemon/proctitle.c b/daemon/proctitle.c index 9422f5ef..941bf22e 100644 --- a/daemon/proctitle.c +++ b/daemon/proctitle.c @@ -2,7 +2,7 @@ /* * LADI Session Handler (ladish) * - * Copyright (C) 2008 Nedko Arnaudov + * Copyright (C) 2008, 2009 Nedko Arnaudov * ************************************************************************** * This file contains the code that sets process "title" @@ -29,7 +29,7 @@ #include #include -#include "../common/debug.h" +#include "../log.h" static char * g_argv_begin; static char * g_argv_end; diff --git a/daemon/sigsegv.c b/daemon/sigsegv.c index c2cb1158..0dfed6e5 100644 --- a/daemon/sigsegv.c +++ b/daemon/sigsegv.c @@ -46,7 +46,7 @@ char * __cxa_demangle(const char * __mangled_name, char * __output_buffer, size_t * __length, int * __status); #endif -#include "../common/debug.h" +#include "../log.h" #if defined(REG_RIP) # define SIGSEGV_STACK_IA64 diff --git a/dbus/error.c b/dbus/error.c index 2da9b227..fc3f1660 100644 --- a/dbus/error.c +++ b/dbus/error.c @@ -30,7 +30,6 @@ #include "../common.h" #include "helpers.h" #include "error.h" -#include "../common/debug.h" void lash_dbus_error(struct dbus_method_call * call_ptr, const char * err_name, const char * format, ...) { diff --git a/dbus/helpers.c b/dbus/helpers.c index 6c971531..47cb18ce 100644 --- a/dbus/helpers.c +++ b/dbus/helpers.c @@ -34,7 +34,7 @@ #include "helpers.h" #include "method.h" -#include "../common/debug.h" +#include "../log.h" DBusConnection * g_dbus_connection; DBusError g_dbus_error; diff --git a/graph_proxy.c b/graph_proxy.c index bc023ec7..aeb08301 100644 --- a/graph_proxy.c +++ b/graph_proxy.c @@ -31,7 +31,6 @@ #include "common.h" #include "graph_proxy.h" #include "common/klist.h" -#include "common/debug.h" #include "dbus/helpers.h" #include "dbus_constants.h" diff --git a/gui/graph_canvas.c b/gui/graph_canvas.c index 660039df..34a94ce8 100644 --- a/gui/graph_canvas.c +++ b/gui/graph_canvas.c @@ -27,8 +27,6 @@ #include #include "graph_canvas.h" -#include "../common/debug.h" -#include "../common/klist.h" #include "../dbus_constants.h" struct graph_canvas diff --git a/jack_proxy.c b/jack_proxy.c index 96d469f9..64e1977c 100644 --- a/jack_proxy.c +++ b/jack_proxy.c @@ -29,7 +29,6 @@ #include "common.h" #include "jack_proxy.h" #include "dbus/helpers.h" -#include "common/debug.h" #include "dbus_constants.h" jack_proxy_callback_server_started g_on_server_started; diff --git a/common/debug.h b/log.h similarity index 98% rename from common/debug.h rename to log.h index 4edd48ec..8e948260 100644 --- a/common/debug.h +++ b/log.h @@ -2,7 +2,7 @@ /* * LADI Session Handler (ladish) * - * Copyright (C) 2008 Nedko Arnaudov + * Copyright (C) 2008, 2009 Nedko Arnaudov * Copyright (C) 2008 Juuso Alasuutari * Copyright (C) 2002 Robert Ham *