/*
- * $Id: adv1tov2.c,v 1.4 2005-04-28 20:49:18 bfernhomberg Exp $
+ * $Id: adv1tov2.c,v 1.5 2009-10-14 01:38:28 didg Exp $
* v1tov2: given a root directory, run down and convert all the
* files/directories into appledouble v2.
*/
}
#endif
-/* ----------------------------- */
-char *fullpathname(const char *name)
-{
- static char wd[ MAXPATHLEN + 1];
-
- if ( getcwd( wd , MAXPATHLEN) ) {
- strlcat(wd, "/", MAXPATHLEN);
- strlcat(wd, name, MAXPATHLEN);
- }
- else {
- strlcpy(wd, name, MAXPATHLEN);
- }
- return wd;
-}
-
#define MAXDESCEND 0xFFFF
/* recursively descend subdirectories.
* oh the stack space we use up! */
-void descend(DIR *dp)
+static void descend(DIR *dp)
{
DIR *dpnew;
struct dirent *de;