Browse Source

Bump version to 0.10 and make errors (finally?) print to stderr

Abdullah ibn Nadjo 7 years ago
parent
commit
38c3bf387c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      include/light.h

+ 2
- 2
include/light.h View File

8
 #include <linux/limits.h>
8
 #include <linux/limits.h>
9
 
9
 
10
 #define LIGHT_VER_MAJOR 0
10
 #define LIGHT_VER_MAJOR 0
11
-#define LIGHT_VER_MINOR 9
11
+#define LIGHT_VER_MINOR 10
12
 #define LIGHT_VER_TYPE "beta"
12
 #define LIGHT_VER_TYPE "beta"
13
 #define LIGHT_YEAR 2014
13
 #define LIGHT_YEAR 2014
14
 #define LIGHT_AUTHOR "Fredrik Haikarainen"
14
 #define LIGHT_AUTHOR "Fredrik Haikarainen"
16
 #define ASSERT_SET(t,v) \
16
 #define ASSERT_SET(t,v) \
17
   if(v)\
17
   if(v)\
18
   {\
18
   {\
19
-    printf(t" arguments can not be used in conjunction.\n");\
19
+    fprintf(stderr, t" arguments can not be used in conjunction.\n");\
20
     return FALSE;\
20
     return FALSE;\
21
   }\
21
   }\
22
   v = TRUE;
22
   v = TRUE;