mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
Specify void arguments explicitly
PUBLISHED_FROM=345ac55417a9b012e89244d36bfb9ebf8e908637
This commit is contained in:
1 parent
a4c668e37a
commit
b667bd709d
1 file changed
+2
-2
+2
-2
@@ -154,7 +154,7 @@ MG_INTERNAL void mg_ws_handshake(struct mg_connection *nc,
|
|||||||
#endif
|
#endif
|
||||||
#endif /* MG_ENABLE_HTTP */
|
#endif /* MG_ENABLE_HTTP */
|
||||||
|
|
||||||
MG_INTERNAL int mg_get_errno();
|
MG_INTERNAL int mg_get_errno(void);
|
||||||
|
|
||||||
#endif /* CS_MONGOOSE_SRC_INTERNAL_H_ */
|
#endif /* CS_MONGOOSE_SRC_INTERNAL_H_ */
|
||||||
#ifdef MG_MODULE_LINES
|
#ifdef MG_MODULE_LINES
|
||||||
@@ -8219,7 +8219,7 @@ int mg_match_prefix(const char *pattern, int pattern_len, const char *str) {
|
|||||||
return mg_match_prefix_n(pstr, mg_mk_str(str));
|
return mg_match_prefix_n(pstr, mg_mk_str(str));
|
||||||
}
|
}
|
||||||
|
|
||||||
MG_INTERNAL int mg_get_errno() {
|
MG_INTERNAL int mg_get_errno(void) {
|
||||||
#ifndef WINCE
|
#ifndef WINCE
|
||||||
return errno;
|
return errno;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in new issue
Block a user