diff options
author | Ran Benita <ran234@gmail.com> | 2012-04-06 03:38:55 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-04-30 17:05:57 +0100 |
commit | a641a1859b862b1324983a5e2ef8666c29539f87 (patch) | |
tree | 15b9fe248fdaf50a65993fae920b113ea6947c0c /src/utils.c | |
parent | a39ed85f5600f5f8b15decb5d16931c91ed0a7a1 (diff) | |
download | libxkbcommon-a641a1859b862b1324983a5e2ef8666c29539f87.tar.gz libxkbcommon-a641a1859b862b1324983a5e2ef8666c29539f87.tar.bz2 libxkbcommon-a641a1859b862b1324983a5e2ef8666c29539f87.zip |
Use stdbool.h
'Cause defining your own True and False is so 1990's.
Signed-off-by: Ran Benita <ran234@gmail.com>
[daniels: Fixed for xkb_desc -> xkb_keymap changes.]
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c index 031162e..7e33c8f 100644 --- a/src/utils.c +++ b/src/utils.c @@ -53,7 +53,7 @@ static int outCount = 0; static char *preMsg = NULL; static char *prefix = NULL; -Bool +bool uSetErrorFile(char *name) { if ((errorFile != NULL) && (errorFile != stderr)) @@ -68,9 +68,9 @@ uSetErrorFile(char *name) if (errorFile == NULL) { errorFile = stderr; - return (False); + return false; } - return (True); + return true; } void |