summaryrefslogtreecommitdiffstats
path: root/Mac/Compat/getbootvol.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Compat/getbootvol.c')
-rw-r--r--Mac/Compat/getbootvol.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/Mac/Compat/getbootvol.c b/Mac/Compat/getbootvol.c
deleted file mode 100644
index df450c6..0000000
--- a/Mac/Compat/getbootvol.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Return the name of the boot volume (not the current directory).
- Public domain by Guido van Rossum, CWI, Amsterdam (July 1987).
-*/
-
-#include "macdefs.h"
-
-char *
-getbootvol(void)
-{
- short vrefnum;
- static unsigned char name[32];
-
- (void) GetVol(name, &vrefnum);
- p2cstr(name);
- /* Shouldn't fail; return ":" if it does */
- strcat((char *)name, ":");
- return (char *)name;
-}