Clean up system options code

Abort with error message when trying to use unsupported/disabled
system specific option.
This commit is contained in:
Miroslav Lichvar
2009-11-25 14:22:11 +01:00
parent 032838b1b0
commit e3234465e2
7 changed files with 70 additions and 63 deletions

9
conf.h
View File

@@ -75,12 +75,7 @@ extern int CNF_AllowLocalReference(int *stratum);
extern void CNF_SetupAccessRestrictions(void);
#if defined(HAVE_SCHED_SETSCHEDULER)
extern int SchedPriority;
#endif
#if defined(HAVE_MLOCKALL)
extern int LockAll;
#endif
extern int CNF_GetSchedPriority(void);
extern int CNF_GetLockMemory(void);
#endif /* GOT_CONF_H */