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:
Sami Kerola 2011-11-13 22:05:51 +01:00
parent 6b47d9ffaf
commit 5ea17c9754
4 changed files with 3 additions and 2 deletions

View file

@ -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"

View file

@ -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;

View file

@ -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>

View file

@ -52,6 +52,7 @@ extern char *malloc();
#include <err.h>
#include <errno.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>