Clean up compilation warning.

This commit is contained in:
Paul Traina 1995-08-23 05:26:21 +00:00
parent 881f591647
commit abdd03a364
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10180
3 changed files with 3 additions and 11 deletions

View File

@ -42,9 +42,9 @@ malloc(nbytes, junk1, junk2) /* junk? not used */
{
unsigned char *p = storage;
storage += nbytes;
if (storage >= 0xa0000) {
if (storage >= (unsigned char *) 0xa0000) {
putstr("warning: malloc wrapped\n\r");
p = (unsigned char *)0x50000;
p = (unsigned char *) 0x50000;
storage = p + nbytes;
}
return p;

View File

@ -77,3 +77,4 @@ int get_desc(char *fname, char **name, char **comment,
char **desc, long *size, char *tmp_file);
int exec_catch_errors(char *prog, char *arg, char *fout);
int already_installed(char *name);
void install_pkgs_indir(void);

View File

@ -28,15 +28,6 @@
extern PKG_info p_inf;
/*
* Local prototypes
*/
void install_pkgs_indir(void);
/*
* Functions
*/