File: implicit-int.patch

package info (click to toggle)
publicfile 0.52-14
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 900 kB
  • sloc: ansic: 3,903; makefile: 472; sh: 296
file content (23 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix implicit-int warning
Author: Bastian Germann
---
--- publicfile-0.52.orig/configure.c
+++ publicfile-0.52/configure.c
@@ -65,6 +65,7 @@ char *user;
 char *loguser;
 struct passwd *pw;
 
+int
 main(int argc,char **argv)
 {
   umask(022);
--- publicfile-0.52.orig/auto-str.c
+++ publicfile-0.52/auto-str.c
@@ -11,6 +11,7 @@ char *s;
   if (substdio_puts(&ss1,s) == -1) _exit(111);
 }
 
+int
 main(argc,argv)
 int argc;
 char **argv;