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

Steve Mynott steve.mynott at gmail.com
Mon Dec 27 14:19:01 PST 2004


--- 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;





More information about the Submit mailing list