cleanup in main.c:

- use config_get_tristate()
- a few more error checks
- use symbolic constants EXIT_SUCCESS, EXIT_FAILURE
This commit is contained in:
marschap
2007-05-12 16:14:30 +00:00
parent 3e84564e6a
commit b801ff6f5a
3 changed files with 47 additions and 66 deletions
-1
View File
@@ -33,7 +33,6 @@
#define TITLESPEED_NO 0 /* needs to be (TITLESPEED_MIN - 1) */
#define TITLESPEED_MIN 1
#define TITLESPEED_MAX 10
#define TITLESPEED_DEFAULT 10 /* = no delay */
extern int heartbeat;
extern int backlight;