mirror of
https://github.com/nasa/trick.git
synced 2025-06-17 14:48:19 +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:
@ -13,7 +13,7 @@ extern Trick::FrameLog * the_fl ;
|
||||
* @copydoc Trick::FrameLog::framelog_on
|
||||
* C wrapper for Trick::FrameLog::framelog_on
|
||||
*/
|
||||
extern "C" int frame_log_on() {
|
||||
extern "C" int frame_log_on(void) {
|
||||
if (the_fl != NULL) {
|
||||
return the_fl->framelog_on() ;
|
||||
}
|
||||
@ -25,7 +25,7 @@ extern "C" int frame_log_on() {
|
||||
* @copydoc Trick::FrameLog::framelog_off
|
||||
* C wrapper for Trick::FrameLog::framelog_off
|
||||
*/
|
||||
extern "C" int frame_log_off() {
|
||||
extern "C" int frame_log_off(void) {
|
||||
if (the_fl != NULL) {
|
||||
return the_fl->framelog_off() ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user