ANSIfication step 2: make sure all needed prototypes are available, and all needed
header files included.
diff --git a/Mac/Compat/getbootvol.c b/Mac/Compat/getbootvol.c
index 8f5d28c..df450c6 100644
--- a/Mac/Compat/getbootvol.c
+++ b/Mac/Compat/getbootvol.c
@@ -5,7 +5,7 @@
 #include "macdefs.h"
 
 char *
-getbootvol()
+getbootvol(void)
 {
 	short vrefnum;
 	static unsigned char name[32];
diff --git a/Mac/Compat/getwd.c b/Mac/Compat/getwd.c
index 27f68a2..1487fb0 100644
--- a/Mac/Compat/getwd.c
+++ b/Mac/Compat/getwd.c
@@ -32,8 +32,7 @@
 #define ROOTID 2 /* Root directory ID */
 
 char *
-getwd(cwd)
-	char *cwd;
+getwd(char *cwd)
 {
 	/* Universal parameter block. */
 	union {
diff --git a/Mac/Compat/macstat.h b/Mac/Compat/macstat.h
index 64ace4e..d6cad85 100644
--- a/Mac/Compat/macstat.h
+++ b/Mac/Compat/macstat.h
@@ -27,6 +27,7 @@
 #define S_IWRITE   0200
 #define S_IEXEC    0100
 
+extern int macstat(char *, struct macstat *);
 /* To stop inclusion of MWerks header: */
 #ifndef _STAT
 #define _STAT
diff --git a/Mac/Compat/sync.c b/Mac/Compat/sync.c
index a6487e1..944ba23 100644
--- a/Mac/Compat/sync.c
+++ b/Mac/Compat/sync.c
@@ -6,7 +6,7 @@
 #include "macdefs.h"
 
 int
-sync()
+sync(void)
 {
 	if (FlushVol((StringPtr)0, 0) == noErr)
 		return 0;