mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
Use void arguments list consistently in C code
On my way, fixed a couple of cases where we had `()` in the header, and non-empty argument list in the source file. PUBLISHED_FROM=5519526cf84e2bbd425a726fcc112fea1a95cbf1
This commit is contained in:
1 parent
5f93f7162f
commit
2a541175b5
12 files changed
+20
-20
No files matched your search
+3
-3
@@ -788,7 +788,7 @@ bool mg_start_task(int priority, int stack_size, mg_init_cb mg_init);
|
||||
|
||||
void mg_run_in_task(void (*cb)(struct mg_mgr *mgr, void *arg), void *cb_arg);
|
||||
|
||||
int sl_fs_init();
|
||||
int sl_fs_init(void);
|
||||
|
||||
void sl_restart_cb(struct mg_mgr *mgr);
|
||||
|
||||
@@ -814,7 +814,7 @@ extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* Sub-second granularity time(). */
|
||||
double cs_time();
|
||||
double cs_time(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
@@ -1631,7 +1631,7 @@ double mg_set_timer(struct mg_connection *c, double timestamp);
|
||||
/*
|
||||
* A sub-second precision version of time().
|
||||
*/
|
||||
double mg_time();
|
||||
double mg_time(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user