]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
include errno.h into ply-logger.h
authorRay Strode <rstrode@redhat.com>
Wed, 13 Jun 2007 23:24:26 +0000 (19:24 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 13 Jun 2007 23:24:26 +0000 (19:24 -0400)
src/libply/ply-logger.h

index bfd53e7df0608b1bed740ab9b81d057bef57782c..ad622368e1940c1d702ca7a70a30c091ae655bc5 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef PLY_LOGGER_H
 #define PLY_LOGGER_H
 
+#include <errno.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <string.h>
@@ -72,8 +73,6 @@ bool ply_logger_is_tracing_enabled (ply_logger_t *logger);
 #define ply_logger_trace(logger, format, args...)                              \
 do                                                                             \
   {                                                                            \
-    static const char *_function_suffix = "";                                  \
-    const char *_function_name = "";                                           \
     double _timestamp;                                                         \
     pid_t _pid;                                                                \
     int _old_errno;                                                            \