Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 84828
Collapse All | Expand All

(-)mpack/xmalloc.c (-1 / +1 lines)
Lines 24-30 Link Here
24
 */
24
 */
25
#include <stdio.h>
25
#include <stdio.h>
26
#include <string.h>
26
#include <string.h>
27
extern char *malloc(), *realloc();
27
extern void *malloc(), *realloc();
28
28
29
char *xmalloc (size)
29
char *xmalloc (size)
30
int size;
30
int size;
(-)mpack/unixos.c (-1 / +1 lines)
Lines 37-43 Link Here
37
#endif
37
#endif
38
38
39
extern int errno;
39
extern int errno;
40
extern char *malloc();
40
extern void *malloc();
41
extern char *getenv();
41
extern char *getenv();
42
42
43
int overwrite_files = 0;
43
int overwrite_files = 0;
(-)mpack/unixpk.c (-1 / +1 lines)
Lines 165-171 Link Here
165
	    strcpy(fnamebuf, "/tmp");
165
	    strcpy(fnamebuf, "/tmp");
166
	}
166
	}
167
	strcat(fnamebuf, "/mpackXXXXXX");
167
	strcat(fnamebuf, "/mpackXXXXXX");
168
	mktemp(fnamebuf);
168
	mkstemp(fnamebuf);
169
	outfname = strsave(fnamebuf);
169
	outfname = strsave(fnamebuf);
170
    }
170
    }
171
171

Return to bug 84828