mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
The Great Embooleanating
A large number of functions had return values and/or arguments changed to use ``bool`` types instead of ``int``.
This commit is contained in:
parent
3c470ffe13
commit
fd5e15b116
145 changed files with 1288 additions and 1331 deletions
|
@ -237,7 +237,7 @@ static void parse_function_name(vector<ParseLocationRec>& result,
|
|||
body = bodies[0].stmts.get();
|
||||
else
|
||||
{
|
||||
while ( 1 )
|
||||
while ( true )
|
||||
{
|
||||
debug_msg("There are multiple definitions of that event handler.\n"
|
||||
"Please choose one of the following options:\n");
|
||||
|
@ -600,7 +600,7 @@ int dbg_execute_command(const char* cmd)
|
|||
{
|
||||
/* The prototype for add_history(), at least under MacOS,
|
||||
* has it taking a char* rather than a const char*.
|
||||
* But documentation at
|
||||
* But documentation at
|
||||
* http://tiswww.case.edu/php/chet/readline/history.html
|
||||
* suggests that it's safe to assume it's really const char*.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue