]> git.proxmox.com Git - mirror_lxc.git/commitdiff
{file,string}_utils: remove NO_LOG
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 22 Aug 2018 13:36:15 +0000 (15:36 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 22 Aug 2018 13:36:15 +0000 (15:36 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/file_utils.c
src/lxc/string_utils.c

index 89d90c269ce5c9e83db7e35678ee3f5c4d70c5a6..63e8322d695ad835107f3d56c96a2b8b046024ce 100644 (file)
@@ -31,9 +31,7 @@
 #include "macro.h"
 #include "string.h"
 
-#ifndef NO_LOG
 lxc_log_define(file_utils, lxc);
-#endif
 
 int lxc_write_to_file(const char *filename, const void *buf, size_t count,
                      bool add_newline, mode_t mode)
index e5e818373be01395bc90cd638ac01020bf4bf0a8..e9136a2f220a0ccd69f8eb521ab6e38600fea086 100644 (file)
@@ -56,9 +56,7 @@
 #include "include/strlcat.h"
 #endif
 
-#ifndef NO_LOG
 lxc_log_define(string_utils, lxc);
-#endif
 
 char **lxc_va_arg_list_to_argv(va_list ap, size_t skip, int do_strdup)
 {