mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Prefer the use of stdbool to custom defines.
Approved by: cperciva (from discussion) MFC after: 3 days
This commit is contained in:
parent
2c6024ec1b
commit
2a00f5cc5c
1 changed files with 3 additions and 3 deletions
|
|
@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
|
|||
#include <fcntl.h>
|
||||
#include <locale.h>
|
||||
#include <regex.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
@ -62,9 +63,8 @@ __FBSDID("$FreeBSD$");
|
|||
#include "strfile.h"
|
||||
#include "pathnames.h"
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
#define bool short
|
||||
#define TRUE true
|
||||
#define FALSE false
|
||||
|
||||
#define MINW 6 /* minimum wait if desired */
|
||||
#define CPERS 20 /* # of chars for each sec */
|
||||
|
|
|
|||
Loading…
Reference in a new issue