summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/windows-NT/filesubr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/windows-NT/filesubr.c')
-rw-r--r--gnu/usr.bin/cvs/windows-NT/filesubr.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/usr.bin/cvs/windows-NT/filesubr.c b/gnu/usr.bin/cvs/windows-NT/filesubr.c
index c9b4c17e06a..f4ceac9d837 100644
--- a/gnu/usr.bin/cvs/windows-NT/filesubr.c
+++ b/gnu/usr.bin/cvs/windows-NT/filesubr.c
@@ -25,11 +25,6 @@
#include "cvs.h"
-#ifndef lint
-static const char rcsid[] = "$CVSid:$";
-USE(rcsid);
-#endif
-
/*
* I don't know of a convenient way to test this at configure time, or else
* I'd certainly do it there.
@@ -790,3 +785,9 @@ convert_file (char *infile, int inflags,
if (close (infd) < 0)
error (0, errno, "warning: couldn't close %s", infile);
}
+
+char *
+get_homedir ()
+{
+ return getenv ("HOMEPATH");
+}