mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
30 lines
771 B
Diff
30 lines
771 B
Diff
diff -ubr mpack-1.6-orig/unixos.c mpack-1.6/unixos.c
|
|
--- mpack-1.6-orig/unixos.c 2013-08-17 14:32:38.102772775 +0200
|
|
+++ mpack-1.6/unixos.c 2013-08-17 14:32:43.180792505 +0200
|
|
@@ -38,10 +38,6 @@
|
|
#define MAXHOSTNAMELEN 64
|
|
#endif
|
|
|
|
-extern int errno;
|
|
-extern char *malloc();
|
|
-extern char *getenv();
|
|
-
|
|
int overwrite_files = 0;
|
|
int didchat;
|
|
|
|
Only in mpack-1.6: unixos.o
|
|
Only in mpack-1.6: unixunpk.o
|
|
Only in mpack-1.6: uudecode.o
|
|
diff -ubr mpack-1.6-orig/xmalloc.c mpack-1.6/xmalloc.c
|
|
--- mpack-1.6-orig/xmalloc.c 2013-08-17 14:32:38.102772775 +0200
|
|
+++ mpack-1.6/xmalloc.c 2013-08-17 14:33:08.900892319 +0200
|
|
@@ -24,7 +24,6 @@
|
|
*/
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
-extern char *malloc(), *realloc();
|
|
|
|
char *xmalloc (int size)
|
|
{
|
|
Only in mpack-1.6: xmalloc.o
|