summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hash.c2
-rw-r--r--ident.c1
-rw-r--r--mkfontscale.c1
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 <stdlib.h>
#include <string.h>
#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 <dirent.h>
#include <unistd.h>
#include <errno.h>
+#include <ctype.h>
#include <X11/Xos.h>
#include <X11/fonts/fontenc.h>