bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small compile error in the current CVS.


From: Alfred M. Szmidt
Subject: Small compile error in the current CVS.
Date: Sat, 26 Apr 2003 15:21:01 +0200

This fixes a small compile error that I got yesterday with GCC 2.3.x
and CVS libc.

Index: ufs-fsck/ChangeLog
2003-04-25  Alfred M. Szmidt  <ams@kemisten.nu>

        * main.c (num_files): Use daddr_t.

Index: term/ChangeLog
2003-04-25  Alfred M. Szmidt  <ams@kemisten.nu>

        * main.c (rdev): Use dev_t.

Index: term/term.h
===================================================================
RCS file: /cvsroot/hurd/hurd/term/term.h,v
retrieving revision 1.53
diff -u -r1.53 term.h
--- term/term.h 26 Jun 2002 19:22:58 -0000      1.53
+++ term/term.h 26 Apr 2003 13:17:51 -0000
@@ -329,7 +329,7 @@
 void init_users (void);
 
 extern char *tty_arg;
-extern int rdev;
+extern dev_t rdev;
 
 /* kludge--these are pty versions of trivfs_S_io_* functions called by
    the real functions in users.c to do work for ptys.  */
Index: ufs-fsck/main.c
===================================================================
RCS file: /cvsroot/hurd/hurd/ufs-fsck/main.c,v
retrieving revision 1.15
diff -u -r1.15 main.c
--- ufs-fsck/main.c     20 Feb 1997 04:17:39 -0000      1.15
+++ ufs-fsck/main.c     26 Apr 2003 13:17:51 -0000
@@ -34,7 +34,7 @@
 int preen = 0;
 
 /* Total number of files found on the partition.  */
-long num_files = 0;
+daddr_t num_files = 0;
 
 static struct argp_option options[] =
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]