Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 739898
Collapse All | Expand All

(-)light-1.2.orig/src/helpers.c (+2 lines)
Lines 9-14 Link Here
9
#include <errno.h> // errno
9
#include <errno.h> // errno
10
#include <libgen.h> // dirname 
10
#include <libgen.h> // dirname 
11
11
12
light_loglevel_t light_loglevel;
13
12
14
13
bool light_file_read_uint64(char const *filename, uint64_t *val)
15
bool light_file_read_uint64(char const *filename, uint64_t *val)
14
{
16
{
(-)light-1.2.orig/src/helpers.h (-1 / +1 lines)
Lines 21-27 Link Here
21
    LIGHT_NOTE_LEVEL
21
    LIGHT_NOTE_LEVEL
22
} light_loglevel_t;
22
} light_loglevel_t;
23
23
24
light_loglevel_t light_loglevel;
24
extern light_loglevel_t light_loglevel;
25
25
26
#define LIGHT_LOG(lvl, fp, fmt, args...)\
26
#define LIGHT_LOG(lvl, fp, fmt, args...)\
27
    if (light_loglevel >= lvl)\
27
    if (light_loglevel >= lvl)\

Return to bug 739898