Use stdbool.h. Remove local bool.

This commit is contained in:
Ralf Corsepius
2008-08-20 14:59:51 +00:00
parent b9f2bb8a41
commit a807b75e38

View File

@@ -22,6 +22,7 @@
#ifndef __PPPD_H__
#define __PPPD_H__
#include <stdbool.h> /* bool */
#include <stdio.h> /* for FILE */
#include <limits.h> /* for NGROUPS_MAX */
#include <sys/param.h> /* for MAXPATHLEN and BSD4_4, if defined */
@@ -59,8 +60,6 @@
* Option descriptor structure.
*/
typedef unsigned char bool;
enum opt_type {
o_special_noarg = 0,
o_special = 1,