Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
xmlto
xmlto-codecleanup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmlto-codecleanup.patch of Package xmlto
--- xmlif/xmlif.l +++ xmlif/xmlif.l @@ -30,7 +30,7 @@ static char **selections; /* selection tokens */ static int nselections; /* number of selections */ -static ifsense; /* sense of last `if' or unless seen */ +static int ifsense; /* sense of last `if' or unless seen */ static char *attribute; /* last attribute scanned */ struct stack_t { @@ -71,7 +71,7 @@ } } -static void stash_attribute(char *attr) +static void stash_attribute(const char *attr) /* stash an attribute away for comparison */ { #ifdef DEBUG @@ -163,7 +163,7 @@ end->suppressed = suppress(attribute, val); } -static void process_else() +static void process_else(void) /* process <?xmlif else> tag */ { end->suppressed = end->matched; @@ -217,9 +217,12 @@ #include "config.h" -int yywrap() {exit(0);}; +int yywrap(void) +{ + exit(0); +} -main(int argc, char *argv[]) +int main(int argc, char *argv[]) { int i;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor