projects
/
dockapps
/
wmnotify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added <stdbool.h> for standard bool definitions
[dockapps/wmnotify.git]
/
src
/
common.h
diff --git
a/src/common.h
b/src/common.h
index
9a3d3e8
..
e8ee901
100644
(file)
--- a/
src/common.h
+++ b/
src/common.h
@@
-6,6
+6,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <errno.h>
#if STDC_HEADERS
#include <errno.h>
#if STDC_HEADERS
@@
-21,13
+22,6
@@
# define EXIT_FAILURE 1
#endif
# define EXIT_FAILURE 1
#endif
-typedef int bool;
-#ifndef FALSE
-# define FALSE 0
-# define TRUE 1
-#endif
-
-
/* Returns TRUE if the strings 'a' and 'b' are equal. */
#define STREQ(a, b) (strcmp((a), (b)) == 0)
/* Returns TRUE if the strings 'a' and 'b' are equal. */
#define STREQ(a, b) (strcmp((a), (b)) == 0)