DragonFly BSD
DragonFly submit List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

/usr/src/sbin/dump/itime.c.patch register removal


From: Steve Mynott <steve.mynott@xxxxxxxxx>
Date: Mon, 27 Dec 2004 22:18:11 +0000

--- itime.c.orig        2004-12-18 22:44:47.000000000 +0000
+++ itime.c     2004-12-27 21:55:02.000000000 +0000
@@ -109,8 +109,8 @@
 static void
 readdumptimes(FILE *df)
 {
-       register int i;
-       register struct dumptime *dtwalk;
+       int i;
+       struct  dumptime *dtwalk;

        for (;;) {
                dtwalk = (struct dumptime *)calloc(1, sizeof (struct dumptime));
@@ -135,8 +135,8 @@
 void
 getdumptime(void)
 {
-       register struct dumpdates *ddp;
-       register int i;
+       struct dumpdates *ddp;
+       int i;
        char *fname;

        fname = disk;
@@ -168,8 +168,8 @@
 putdumptime(void)
 {
        FILE *df;
-       register struct dumpdates *dtwalk;
-       register int i;
+       struct dumpdates *dtwalk;
+       int i;
        int fd;
        char *fname;



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