From de621906a7c6be20af4272feee5e58d511e778c1 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sat, 15 Mar 2008 18:44:06 -0300 Subject: [PATCH] Compile warning fixes. Include headers for proper prototypes and "ansify" makeHashTable. --- hash.c | 2 +- ident.c | 1 + mkfontscale.c | 1 + 3 files changed, 3 insertions(+), 1 deletions(-) diff --git a/hash.c b/hash.c index f650888..313d5b6 100644 --- a/hash.c +++ b/hash.c @@ -53,7 +53,7 @@ strcpy_lwr(char *dst, char *src) } HashTablePtr -makeHashTable() +makeHashTable(void) { return calloc(NUMBUCKETS, sizeof(HashBucketPtr)); } diff --git a/ident.c b/ident.c index 18402d2..80452e6 100644 --- a/ident.c +++ b/ident.c @@ -29,6 +29,7 @@ #include #include #include "zlib.h" +#include "ident.h" #define PCF_VERSION (('p'<<24)|('c'<<16)|('f'<<8)|1) #define PCF_PROPERTIES (1 << 0) diff --git a/mkfontscale.c b/mkfontscale.c index b538d79..5d9e3de 100644 --- a/mkfontscale.c +++ b/mkfontscale.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include -- 1.5.3.2