mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-05-13 00:02:02 +08:00
Fixed strict-prototypes warning
This commit is contained in:
@@ -1223,6 +1223,7 @@
|
||||
"-Weverything",
|
||||
"-Wshadow",
|
||||
"-Wshorten-64-to-32",
|
||||
"-Wstrict-prototypes",
|
||||
"-Wno-vla",
|
||||
"-Wno-explicit-ownership-type",
|
||||
"-Wno-gnu-statement-expression",
|
||||
|
||||
@@ -170,7 +170,7 @@ static inline NSError* GCDWebServerMakePosixError(int code) {
|
||||
return [NSError errorWithDomain:NSPOSIXErrorDomain code:code userInfo:@{NSLocalizedDescriptionKey : (NSString*)[NSString stringWithUTF8String:strerror(code)]}];
|
||||
}
|
||||
|
||||
extern void GCDWebServerInitializeFunctions();
|
||||
extern void GCDWebServerInitializeFunctions(void);
|
||||
extern NSString* _Nullable GCDWebServerNormalizeHeaderValue(NSString* _Nullable value);
|
||||
extern NSString* _Nullable GCDWebServerTruncateHeaderValue(NSString* _Nullable value);
|
||||
extern NSString* _Nullable GCDWebServerExtractHeaderValueParameter(NSString* _Nullable value, NSString* attribute);
|
||||
|
||||
Reference in New Issue
Block a user