$NetBSD: patch-ae,v 1.2 2012/07/30 04:08:53 dholland Exp $ - Use standard headers. - Don't declare own malloc. --- lirec/util.c.orig 2000-06-12 22:20:14.000000000 +0000 +++ lirec/util.c @@ -22,6 +22,7 @@ the full agreement. #include /* ari -- for strlen */ #include +#include extern char* li_err_msg; static char err_msg[BUFSIZ]; @@ -34,7 +35,6 @@ char * myalloc(nitems, itemsize, typename) char *typename; { - char *malloc(); register unsigned int bytes = nitems * itemsize; register char *p = malloc(bytes); if(p == NULL)