diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-12-04 17:06:14 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-12-04 17:06:14 +0000 |
commit | 0a20bdd5b4ea957e108cbf43725349e2766bd1d1 (patch) | |
tree | c684ee0af28e0059fd7c7974775f10af5b4dc644 /src/tinyproxy.c | |
parent | 02d7474a0952015971439fce2f24ee66ef0217a3 (diff) | |
download | tinyproxy-0a20bdd5b4ea957e108cbf43725349e2766bd1d1.tar.gz tinyproxy-0a20bdd5b4ea957e108cbf43725349e2766bd1d1.zip |
Removed the "bool_t" type since it conflicts with the newer C standards.
The type was just replaced by "unsigned int" types.
Diffstat (limited to '')
-rw-r--r-- | src/tinyproxy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tinyproxy.c b/src/tinyproxy.c index 00e8266..31774b7 100644 --- a/src/tinyproxy.c +++ b/src/tinyproxy.c @@ -1,4 +1,4 @@ -/* $Id: tinyproxy.c,v 1.41 2002-11-21 21:52:59 rjkaes Exp $ +/* $Id: tinyproxy.c,v 1.42 2002-12-04 17:06:14 rjkaes Exp $ * * The initialize routine. Basically sets up all the initial stuff (logfile, * listening socket, config options, etc.) and then sits there and loops @@ -46,8 +46,8 @@ extern FILE *yyin; */ struct config_s config; float load = 0.00; -bool_t received_sighup = FALSE; -bool_t processed_config_file = FALSE; +unsigned int received_sighup = FALSE; /* boolean */ +unsigned int processed_config_file = FALSE; /* boolean */ /* * Handle a signal @@ -150,7 +150,7 @@ int main(int argc, char **argv) { int optch; - bool_t godaemon = TRUE; + unsigned int godaemon = TRUE; /* boolean */ struct passwd *thisuser = NULL; struct group *thisgroup = NULL; char *conf_file = DEFAULT_CONF_FILE; |