#ifndef lint
static const char rcsid[] =
- "$Id: utilities.c,v 1.18 2002/01/25 14:59:53 stelian Exp $";
+ "$Id: utilities.c,v 1.20 2002/02/04 11:18:46 stelian Exp $";
#endif /* not lint */
#include <config.h>
void
pathcheck(char *name)
{
- register char *cp;
+ char *cp;
struct entry *ep;
char *start;
if (!Nflag && (ret = link(existing, new)) < 0) {
-#ifndef __linux__
+#if !defined(__linux__) && !defined(sunos)
struct stat s;
/*
return (GOOD);
}
-#ifndef __linux__
+#if !defined(__linux__) && !defined(sunos)
/*
* Create a whiteout.
*/
dump_ino_t
lowerbnd(dump_ino_t start)
{
- register struct entry *ep;
+ struct entry *ep;
for ( ; start < maxino; start++) {
ep = lookupino(start);
dump_ino_t
upperbnd(dump_ino_t start)
{
- register struct entry *ep;
+ struct entry *ep;
for ( ; start > ROOTINO; start--) {
ep = lookupino(start);