aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Grissiom <chaos.proton@gmail.com>2010-09-18 21:30:02 +0800
committerGravatar Grissiom <chaos.proton@gmail.com>2010-09-18 21:30:02 +0800
commitd0499478017be536eb8d17d963ced01e9b45f543 (patch)
treeb731db32a31fcb0ea7f66d7c51220bbc6c1c2ca1
parent21a10c3c74e169797f8e1f83df49092e64cdc876 (diff)
event_fire( 0 ); => event_fire( NULL );
-rw-r--r--input.c2
-rw-r--r--parser.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/input.c b/input.c
index bd782eaf..b0ebc0c6 100644
--- a/input.c
+++ b/input.c
@@ -293,7 +293,7 @@ static int interrupt_handler()
/*
Fire any pending events
*/
- event_fire( 0 );
+ event_fire( NULL );
/*
Reap stray processes, including printing exit status messages
diff --git a/parser.c b/parser.c
index 54560cdf..e3fc738d 100644
--- a/parser.c
+++ b/parser.c
@@ -2538,7 +2538,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type )
error_code = 0;
- event_fire( 0 );
+ event_fire( NULL );
while( tok_has_next( current_tokenizer ) &&
!error_code &&
@@ -2546,7 +2546,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type )
!exit_status() )
{
eval_job( current_tokenizer );
- event_fire( 0 );
+ event_fire( NULL );
}
int prev_block_type = current_block->type;