mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
build-sys: C99 has true and false
It is pointless to define true and false when standard headers can do that. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
6b47d9ffaf
commit
5ea17c9754
4 changed files with 3 additions and 2 deletions
|
|
@ -50,6 +50,7 @@ extern char *malloc();
|
|||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "defaults.h"
|
||||
|
|
|
|||
|
|
@ -123,8 +123,6 @@ struct macaddr_t {
|
|||
};
|
||||
|
||||
/* Global variables */
|
||||
static int const true = 1;
|
||||
static int const false = 0;
|
||||
struct configuration_t config;
|
||||
static int const output_limit_bit_1 = 1;
|
||||
static int const output_limit_bit_2 = 2;
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ extern char *malloc();
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <netinet/in.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ extern char *malloc();
|
|||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue