mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
libinjection_sqli.c:1200:33: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] const char* libinjection_version() ^ void 1 error generated. Reference: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pdf5b273c8e36_s83d5725005/logs/libinjection-3.10.0_1.log
11 lines
360 B
C
11 lines
360 B
C
--- libinjection_sqli.c.orig 2017-05-21 20:44:26 UTC
|
|
+++ libinjection_sqli.c
|
|
@@ -1197,7 +1197,7 @@ static size_t parse_number(struct libinjection_sqli_st
|
|
* without having to regenerated the SWIG (or other binding) in minor
|
|
* releases.
|
|
*/
|
|
-const char* libinjection_version()
|
|
+const char* libinjection_version(void)
|
|
{
|
|
return LIBINJECTION_VERSION;
|
|
}
|