diff options
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/cpu_util.h | 3 | ||||
| -rw-r--r-- | includes/dt_util.h | 1 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/includes/cpu_util.h b/includes/cpu_util.h index 36ca3c2d..da581a78 100644 --- a/includes/cpu_util.h +++ b/includes/cpu_util.h @@ -7,8 +7,7 @@  #define PROC_CPUINFO "/proc/cpuinfo"  #endif -/* needs a local Processor *processor */ -#define STRIFNULL(f,cs) if (processor->f == NULL) processor->f = g_strdup(cs); +#define STRIFNULL(f,cs) if (f == NULL) f = g_strdup(cs);  #define UNKIFNULL(f) STRIFNULL(f, _("(Unknown)") )  #define EMPIFNULL(f) STRIFNULL(f, "") diff --git a/includes/dt_util.h b/includes/dt_util.h index e077279b..acc4ad16 100644 --- a/includes/dt_util.h +++ b/includes/dt_util.h @@ -42,6 +42,7 @@ typedef struct _dtr_obj dtr_obj;  dtr *dtr_new(char *base_path); /* NULL for DTR_ROOT */  void dtr_free(dtr *); +int dtr_was_found(dtr *);  const char *dtr_base_path(dtr *);  char *dtr_messages(dtr *); /* returns a message log */ | 
