mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +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
@@ -186,7 +186,7 @@ static void mg_init(struct mg_mgr *mgr) {
|
||||
extern void (*const g_pfnVectors[])(void);
|
||||
#endif
|
||||
|
||||
int main() {
|
||||
int main(void) {
|
||||
#ifndef USE_TIRTOS
|
||||
MAP_IntVTableBaseSet((unsigned long) &g_pfnVectors[0]);
|
||||
#endif
|
||||
@@ -223,10 +223,10 @@ int main() {
|
||||
}
|
||||
|
||||
/* These are FreeRTOS hooks for various life situations. */
|
||||
void vApplicationMallocFailedHook() {
|
||||
void vApplicationMallocFailedHook(void) {
|
||||
}
|
||||
|
||||
void vApplicationIdleHook() {
|
||||
void vApplicationIdleHook(void) {
|
||||
}
|
||||
|
||||
void vApplicationStackOverflowHook(OsiTaskHandle *th, signed char *tn) {
|
||||
|
||||
Reference in new issue
Block a user