* 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@noos.fr>, 1999-2000
- * Stelian Pop <pop@noos.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.9 2000/12/04 15:43:16 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>
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;