Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff
webif
bstrip-includes.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bstrip-includes.diff of Package webif
Index: webif/src/bstrip.c =================================================================== --- webif.orig/src/bstrip.c +++ webif/src/bstrip.c @@ -1,5 +1,8 @@ #include <stdio.h> +#include <string.h> +#include <unistd.h> +#include <stdlib.h> #define BUF_SIZE 1024 #define READ_LEN 14 @@ -41,9 +44,9 @@ int do_gets(char *buf) int #ifdef _METAPACK bstrip_main -#else +#else main #endif (int argc, char **argv) { @@ -75,5 +78,6 @@ main } if (r1 > 2) write(1, buf1, r1 - 2); + return 0; }
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