* fix-build-gcc15.patch OBS-URL: https://build.opensuse.org/package/show/server:proxy/squidGuard?expand=0&rev=44
23 lines
849 B
Diff
23 lines
849 B
Diff
Index: b/src/sg.h.in
|
|
===================================================================
|
|
--- a/src/sg.h.in
|
|
+++ b/src/sg.h.in
|
|
@@ -360,7 +360,7 @@ char *sgStripUrl __P((char *));
|
|
void sgEmergency __P(());
|
|
void sgReloadConfig __P(());
|
|
void sgHandlerSigHUP __P((int));
|
|
-void sgAlarm __P(());
|
|
+void sgAlarm __P((int));
|
|
int sgStrRcmp __P((char *, char *));
|
|
int sgStrRncmp __P((char *, char *, int));
|
|
int sgDomStrRncmp __P((char *, char *, int));
|
|
@@ -431,7 +431,7 @@ void sgFreePatternBuffer __P((struct s
|
|
int sgRegExpMatch __P((struct sgRegExp *, char *));
|
|
char *sgRegExpSubst __P((struct sgRegExp *, char *));
|
|
|
|
-void sgDbInit __P(());
|
|
+void sgDbInit __P((struct sgDb *Db, char *file));
|
|
void sgDbLoadTextFile __P((struct sgDb *, char *, int));
|
|
void sgDbUpdate __P((struct sgDb *, char *, char *, size_t));
|
|
|