Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa cosmetics: remove double semicolon, whitespace



details:   https://anonhg.NetBSD.org/src/rev/65860d11530f
branches:  trunk
changeset: 481686:65860d11530f
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Feb 03 19:53:03 2000 +0000

description:
cosmetics: remove double semicolon, whitespace

diffstat:

 sys/lib/libsa/cread.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (59 lines):

diff -r d2d099752c3b -r 65860d11530f sys/lib/libsa/cread.c
--- a/sys/lib/libsa/cread.c     Thu Feb 03 19:46:21 2000 +0000
+++ b/sys/lib/libsa/cread.c     Thu Feb 03 19:53:03 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cread.c,v 1.11 1999/11/13 21:17:56 thorpej Exp $       */
+/*     $NetBSD: cread.c,v 1.12 2000/02/03 19:53:03 drochner Exp $      */
 
 /*
  * Copyright (c) 1996
@@ -241,9 +241,9 @@
        int fd;
        struct sd *s = 0;
 
-       if ( ((fd = oopen(fname, mode)) == -1) || (mode != 0) )
+       if (((fd = oopen(fname, mode)) == -1) || (mode != 0))
                /* compression only for read */
-               return(fd);
+               return (fd);
 
        ss[fd] = s = alloc(sizeof(struct sd));
        if (s == 0)
@@ -261,7 +261,7 @@
 
        s->fd = fd;
        check_header(s); /* skip the .gz header */
-       return(fd);
+       return (fd);
 
 errout:
        if (s != 0)
@@ -286,7 +286,7 @@
        f = &files[fd];
 
        if ((f->f_flags & F_READ) == 0)
-               return(oclose(fd));
+               return (oclose(fd));
 
        s = ss[fd];
 
@@ -404,10 +404,10 @@
                return (-1);
        }
 #endif
-       f = &files[fd];;
+       f = &files[fd];
 
        if ((f->f_flags & F_READ) == 0)
-               return(olseek(fd, offset, where));
+               return (olseek(fd, offset, where));
 
        s = ss[fd];
 
@@ -474,5 +474,5 @@
                errno = EINVAL;
        }
 
-       return((off_t)-1);
+       return ((off_t)-1);
 }



Home | Main Index | Thread Index | Old Index