diff options
author | Frederic Culot <calcurse@culot.org> | 2009-07-12 16:21:57 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-07-12 16:21:57 +0000 |
commit | 56949550025f447691b0f32632b35af4749da358 (patch) | |
tree | b51bf757d54bfca2ed7a0bd8124f18e506c83d98 /src/vars.h | |
parent | d4d29be0fa41c079ab0a9e11585f65ff5e2828cf (diff) | |
download | calcurse-56949550025f447691b0f32632b35af4749da358.zip |
stdbool header removed, unsigned type used instead
Diffstat (limited to 'src/vars.h')
-rwxr-xr-x | src/vars.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: vars.h,v 1.33 2009/07/05 20:33:26 culot Exp $ */ +/* $calcurse: vars.h,v 1.34 2009/07/12 16:22:02 culot Exp $ */ /* * Calcurse - text-based organizer @@ -54,7 +54,6 @@ #endif #include <pthread.h> -#include <stdbool.h> #define DIR_NAME ".calcurse/" #define TODO_PATH_NAME "todo" @@ -135,12 +134,12 @@ struct nbar_s /* General configuration variables */ typedef struct { - bool auto_save; + unsigned auto_save; unsigned periodic_save; - bool confirm_quit; - bool confirm_delete; - bool skip_system_dialogs; - bool skip_progress_bar; + unsigned confirm_quit; + unsigned confirm_delete; + unsigned skip_system_dialogs; + unsigned skip_progress_bar; char *editor; char *pager; char output_datefmt[BUFSIZ]; /* format for displaying date */ @@ -149,7 +148,7 @@ typedef struct conf_t; extern int col, row; -extern bool colorize; +extern unsigned colorize; extern ui_mode_e ui_mode; extern int days[12]; extern char *monthnames[12]; |