-/*
- * $Source$
- * $Author$
- * $Header$
+/* $Id $
+ *
+ * Deal with NFS partition types
*
- * Copyright (C) 1987 by the Massachusetts Institute of Technology
- * For copying and distribution information, please see the file
- * <mit-copyright.h>.
+ * Copyright (C) 1987-1998 by the Massachusetts Institute of Technology
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
*
*/
-#ifndef lint
-static char *rcsid_nfsparttype_c = "$Header$";
-#endif
-
#include <mit-copyright.h>
#include <moira.h>
+
#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
#include <stdlib.h>
+#include <string.h>
-extern char *strsave();
-extern char *strtrim();
+RCSID("$Header$");
struct pair {
int type;
}
if (!n_names)
strcpy(buf, "none");
- return strsave(buf);
+ return strdup(buf);
}
/*
}
while (cp);
sprintf(temp, "%d", flags);
- return strsave(temp);
+ return strdup(temp);
}