mirror of
https://github.com/nasa/trick.git
synced 2025-06-23 01:08:52 +00:00
Explicitly specify void arg for C functions that take no arguments. (#670)
* Clock empty args to void * command_line func empty args to void * DataRecord func empty args to void * debug_pause func empty args to void * echojobs func empty args to void * ExternalApplication func empty args to void * FrameLog func empty args to void * MasterSlave func empty args to void * MonteCarlo func empty args to void * outdllist func proto empty args to void * sie func empty args to void * SimTime func empty args to void * UnitTest func empty args to void * var_server func empty args to void * wcs func empty args to void
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
|
||||
extern Trick::UnitTest * the_unit_test_output ;
|
||||
|
||||
extern "C" int trick_test_enable() {
|
||||
extern "C" int trick_test_enable(void) {
|
||||
the_unit_test_output->enable() ;
|
||||
return(0) ;
|
||||
}
|
||||
@ -36,7 +36,7 @@ extern "C" int trick_test_add_parent(const char * in_test_suite_name, const char
|
||||
}
|
||||
|
||||
|
||||
extern "C" int call_write_output() {
|
||||
extern "C" int call_write_output(void) {
|
||||
the_unit_test_output->write_output() ;
|
||||
return(0) ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user