]> git.wh0rd.org - dump.git/blobdiff - compat/lib/fstab.c
kill "register".
[dump.git] / compat / lib / fstab.c
index 520b6dc766184f6181faa2a3c30c71c7be1ffae7..de95455debc40b916a6f25112eda8ddf1e369cb1 100644 (file)
@@ -2,8 +2,8 @@
  *     Ported to Linux's Second Extended File System as part of the
  *     dump and restore backup suit
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
- *     Stelian Pop <pop@cybercable.fr>, 1999-2000
- *     Stelian Pop <pop@cybercable.fr> - Alcôve <www.alcove.fr>, 2000
+ *     Stelian Pop <stelian@popies.net>, 1999-2000
+ *     Stelian Pop <stelian@popies.net> - Alcôve <www.alcove.com>, 2000-2002
  */
 
 /*
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: fstab.c,v 1.8 2000/11/10 14:42:25 stelian Exp $";
+       "$Id: fstab.c,v 1.13 2002/01/25 15:08:59 stelian Exp $";
 #endif /* not lint */
 
+#include <config.h>
 #include <errno.h>
 #include <fstab.h>
 #include <mntent.h>
@@ -65,13 +66,13 @@ static
 int fstabscan(void)
 {
        struct mntent   *mnt;
-       register char *cp;
+       char *cp;
        int typexx;
 #define        MAXLINELENGTH   1024
        char subline[MAXLINELENGTH];
-       char *device_name;
 
        for (;;) {
+               const char *device_name;
                if (!(mnt = getmntent(_fs_fp)))
                        return 0;