403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/textproc/2bsd-diff/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/textproc/2bsd-diff/files/patch-diff.c
--- diff.c.orig	1991-11-12 20:31:26 UTC
+++ diff.c
@@ -11,7 +11,7 @@ char	diff[] = DIFF;
 char	diffh[] = DIFFH;
 char	pr[] = PR;
 
-main(argc, argv)
+int main(argc, argv)
 	int argc;
 	char **argv;
 {
@@ -162,23 +162,24 @@ savestr(cp)
 	return (dp);
 }
 
-min(a,b)
+int min(a,b)
 	int a,b;
 {
 
 	return (a < b ? a : b);
 }
 
-max(a,b)
+int max(a,b)
 	int a,b;
 {
 
 	return (a > b ? a : b);
 }
 
+sig_t
 done()
 {
-	if (tempfile)
+	if (tempfile[0])
 		unlink(tempfile);
 	exit(status);
 }
@@ -191,6 +192,7 @@ talloc(n)
 	if ((p = malloc((unsigned)n)) != NULL)
 		return(p);
 	noroom();
+	return NULL;
 }
 
 char *
@@ -198,14 +200,13 @@ ralloc(p,n)
 char *p;
 {
 	register char *q;
-	char *realloc();
 
 	if ((q = realloc(p, (unsigned)n)) == NULL)
 		noroom();
 	return(q);
 }
 
-noroom()
+void noroom()
 {
 	fprintf(stderr, "diff: files too big, try -h\n");
 	done();

Youez - 2016 - github.com/yon3zu
LinuXploit