Source-Changes-HG archive

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

[src/trunk]: src Remove extra semicolon.



details:   https://anonhg.NetBSD.org/src/rev/c47faf5ecd2a
branches:  trunk
changeset: 932701:c47faf5ecd2a
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu May 14 08:34:17 2020 +0000

description:
Remove extra semicolon.

diffstat:

 bin/sh/eval.c                                             |   6 +++---
 bin/sh/parser.c                                           |   6 +++---
 common/lib/libc/gen/radixtree.c                           |  10 +++++-----
 crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c            |   4 ++--
 crypto/external/bsd/netpgp/dist/src/libverify/libverify.c |   2 +-
 games/snake/snake/snake.c                                 |   6 +++---
 lib/libcrypt/crypt-argon2.c                               |   2 +-
 lib/libcrypt/pw_gensalt.c                                 |   6 +++---
 sbin/fsck_lfs/segwrite.c                                  |   4 ++--
 sbin/gpt/restore.c                                        |   4 ++--
 sbin/ifconfig/af_inet.c                                   |   6 +++---
 sbin/mount_portal/pt_filter.c                             |   6 +++---
 sbin/newfs_udf/udf_create.c                               |   6 +++---
 sys/arch/arm/imx/if_enet.c                                |   6 +++---
 sys/arch/arm/imx/imx7_usb.c                               |   6 +++---
 sys/arch/arm/marvell/armadaxp.c                           |   6 +++---
 sys/arch/arm/marvell/pci_machdep.c                        |   6 +++---
 sys/arch/arm/omap/ti_iic.c                                |   6 +++---
 sys/arch/arm/s3c2xx0/s3c2440_extint.c                     |   4 ++--
 sys/arch/arm/sunxi/sunxi_usbphy.c                         |   6 +++---
 sys/arch/arm/ti/ti_iic.c                                  |   6 +++---
 sys/arch/i386/stand/lib/exec_multiboot2.c                 |   4 ++--
 sys/arch/mips/rmi/rmixl_firmware.h                        |   4 ++--
 sys/dev/md.c                                              |   6 +++---
 sys/dev/pci/if_aq.c                                       |   6 +++---
 sys/dev/pci/if_ixl.c                                      |   6 +++---
 sys/dev/pci/mfii.c                                        |   6 +++---
 sys/dev/usb/if_urtwreg.h                                  |   2 +-
 sys/stand/efiboot/efienv.c                                |   6 +++---
 tests/fs/vfs/t_rwtoro.c                                   |   4 ++--
 tests/lib/libppath/t_ppath.c                              |   6 +++---
 tests/lib/libpthread/t_thrd.c                             |   6 +++---
 tests/lib/librt/t_sem.c                                   |   6 +++---
 usr.sbin/bta2dpd/bta2dpd/avdtp.c                          |   4 ++--
 usr.sbin/installboot/evboards.c                           |   8 ++++----
 35 files changed, 94 insertions(+), 94 deletions(-)

diffs (truncated from 849 to 300 lines):

diff -r 53839407f282 -r c47faf5ecd2a bin/sh/eval.c
--- a/bin/sh/eval.c     Thu May 14 08:26:29 2020 +0000
+++ b/bin/sh/eval.c     Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eval.c,v 1.179 2020/04/23 09:01:33 kre Exp $   */
+/*     $NetBSD: eval.c,v 1.180 2020/05/14 08:34:17 msaitoh Exp $       */
 
 /*-
  * Copyright (c) 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)eval.c     8.9 (Berkeley) 6/8/95";
 #else
-__RCSID("$NetBSD: eval.c,v 1.179 2020/04/23 09:01:33 kre Exp $");
+__RCSID("$NetBSD: eval.c,v 1.180 2020/05/14 08:34:17 msaitoh Exp $");
 #endif
 #endif /* not lint */
 
@@ -1208,7 +1208,7 @@
                                shellparam = saveparam;
                        }
                        if (saved)
-                               popredir();;
+                               popredir();
                        unreffunc(cmdentry.u.func);
                        poplocalvars();
                        localvars = savelocalvars;
diff -r 53839407f282 -r c47faf5ecd2a bin/sh/parser.c
--- a/bin/sh/parser.c   Thu May 14 08:26:29 2020 +0000
+++ b/bin/sh/parser.c   Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parser.c,v 1.169 2019/12/10 09:18:37 kre Exp $ */
+/*     $NetBSD: parser.c,v 1.170 2020/05/14 08:34:17 msaitoh Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)parser.c   8.7 (Berkeley) 5/16/95";
 #else
-__RCSID("$NetBSD: parser.c,v 1.169 2019/12/10 09:18:37 kre Exp $");
+__RCSID("$NetBSD: parser.c,v 1.170 2020/05/14 08:34:17 msaitoh Exp $");
 #endif
 #endif /* not lint */
 
@@ -2091,7 +2091,7 @@
                        parenlevel++;
                        VTRACE(DBG_LEXER, ("'('(%d)", parenlevel));
                        USTPUTC(c, out);
-                       continue;;
+                       continue;
                case CRP:       /* ')' in arithmetic */
                        if (parenlevel > 0) {
                                USTPUTC(c, out);
diff -r 53839407f282 -r c47faf5ecd2a common/lib/libc/gen/radixtree.c
--- a/common/lib/libc/gen/radixtree.c   Thu May 14 08:26:29 2020 +0000
+++ b/common/lib/libc/gen/radixtree.c   Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radixtree.c,v 1.26 2020/04/11 01:46:47 ad Exp $        */
+/*     $NetBSD: radixtree.c,v 1.27 2020/05/14 08:34:19 msaitoh Exp $   */
 
 /*-
  * Copyright (c)2011,2012,2013 YAMAMOTO Takashi,
@@ -112,7 +112,7 @@
 #include <sys/cdefs.h>
 
 #if defined(_KERNEL) || defined(_STANDALONE)
-__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.26 2020/04/11 01:46:47 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.27 2020/05/14 08:34:19 msaitoh Exp $");
 #include <sys/param.h>
 #include <sys/errno.h>
 #include <sys/pool.h>
@@ -122,7 +122,7 @@
 #include <lib/libsa/stand.h>
 #endif /* defined(_STANDALONE) */
 #else /* defined(_KERNEL) || defined(_STANDALONE) */
-__RCSID("$NetBSD: radixtree.c,v 1.26 2020/04/11 01:46:47 ad Exp $");
+__RCSID("$NetBSD: radixtree.c,v 1.27 2020/05/14 08:34:19 msaitoh Exp $");
 #include <assert.h>
 #include <errno.h>
 #include <stdbool.h>
@@ -1339,13 +1339,13 @@
        assert(!radix_tree_get_tag(t, 0, 2));
        assert(radix_tree_get_tag(t, 1000, 2));
        assert(!radix_tree_get_tag(t, UINT64_C(10000000000), 1));
-       radix_tree_set_tag(t, 0, 2);;
+       radix_tree_set_tag(t, 0, 2);
        radix_tree_set_tag(t, UINT64_C(10000000000), 2);
        radix_tree_dump(t);
        assert(radix_tree_get_tag(t, 0, 2));
        assert(radix_tree_get_tag(t, 1000, 2));
        assert(radix_tree_get_tag(t, UINT64_C(10000000000), 2));
-       radix_tree_clear_tag(t, 0, 2);;
+       radix_tree_clear_tag(t, 0, 2);
        radix_tree_clear_tag(t, UINT64_C(10000000000), 2);
        radix_tree_dump(t);
        assert(!radix_tree_get_tag(t, 0, 2));
diff -r 53839407f282 -r c47faf5ecd2a crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
--- a/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c    Thu May 14 08:26:29 2020 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c    Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsec_doi.c,v 1.51 2018/05/19 20:14:56 maxv Exp $      */
+/*     $NetBSD: ipsec_doi.c,v 1.52 2020/05/14 08:34:19 msaitoh Exp $   */
 
 /* Id: ipsec_doi.c,v 1.55 2006/08/17 09:20:41 vanhu Exp */
 
@@ -984,7 +984,7 @@
                        continue;
                plog(LLV_DEBUG, LOCATION, NULL,
                        "pair[%d]: %p\n", i, pair[i]);
-               print_proppair(LLV_DEBUG, pair[i]);;
+               print_proppair(LLV_DEBUG, pair[i]);
 
                /* compare proposal and select one */
                ret = get_ph2approvalx(iph2, pair[i]);
diff -r 53839407f282 -r c47faf5ecd2a crypto/external/bsd/netpgp/dist/src/libverify/libverify.c
--- a/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c Thu May 14 08:26:29 2020 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c Thu May 14 08:34:17 2020 +0000
@@ -207,7 +207,7 @@
 get_ref(pgpv_ref_t *ref)
 {
        pgpv_mem_t      *mem;
-       pgpv_t          *pgp = (pgpv_t *)ref->vp;;
+       pgpv_t          *pgp = (pgpv_t *)ref->vp;
 
        mem = &ARRAY_ELEMENT(pgp->areas, ref->mem);
        return &mem->mem[ref->offset];
diff -r 53839407f282 -r c47faf5ecd2a games/snake/snake/snake.c
--- a/games/snake/snake/snake.c Thu May 14 08:26:29 2020 +0000
+++ b/games/snake/snake/snake.c Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: snake.c,v 1.29 2016/06/27 08:46:04 dholland Exp $      */
+/*     $NetBSD: snake.c,v 1.30 2020/05/14 08:34:18 msaitoh Exp $       */
 
 /*
  * Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)snake.c    8.2 (Berkeley) 1/7/94";
 #else
-__RCSID("$NetBSD: snake.c,v 1.29 2016/06/27 08:46:04 dholland Exp $");
+__RCSID("$NetBSD: snake.c,v 1.30 2020/05/14 08:34:18 msaitoh Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -192,7 +192,7 @@
 
        penalty = loot = 0;
        if (!initscr())
-               errx(0, "couldn't initialize screen");;
+               errx(0, "couldn't initialize screen");
        cbreak();
        noecho();
 #ifdef KEY_LEFT
diff -r 53839407f282 -r c47faf5ecd2a lib/libcrypt/crypt-argon2.c
--- a/lib/libcrypt/crypt-argon2.c       Thu May 14 08:26:29 2020 +0000
+++ b/lib/libcrypt/crypt-argon2.c       Thu May 14 08:34:17 2020 +0000
@@ -63,7 +63,7 @@
 static int decode_option(argon2_context * ctx, argon2_type * atype, const char * option) 
 {
        size_t tmp=0;
-        char * in = 0,*inp;;
+        char * in = 0,*inp;
         char * a=0;
         char * p=0;
        size_t sl;
diff -r 53839407f282 -r c47faf5ecd2a lib/libcrypt/pw_gensalt.c
--- a/lib/libcrypt/pw_gensalt.c Thu May 14 08:26:29 2020 +0000
+++ b/lib/libcrypt/pw_gensalt.c Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pw_gensalt.c,v 1.8 2019/10/21 02:36:48 jhigh Exp $     */
+/*     $NetBSD: pw_gensalt.c,v 1.9 2020/05/14 08:34:19 msaitoh Exp $   */
 
 /*
  * Copyright 1997 Niels Provos <provos%physnet.uni-hamburg.de@localhost>
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: pw_gensalt.c,v 1.8 2019/10/21 02:36:48 jhigh Exp $");
+__RCSID("$NetBSD: pw_gensalt.c,v 1.9 2020/05/14 08:34:19 msaitoh Exp $");
 #endif /* not lint */
 
 #include <sys/syslimits.h>
@@ -189,7 +189,7 @@
 static int __gensalt_argon2_decode_option(char * dst, size_t dlen, const char * option)
 {
 
-       char * in = 0;;
+       char * in = 0;
        char * a = 0;
        size_t tmp = 0;
        int error = 0;
diff -r 53839407f282 -r c47faf5ecd2a sbin/fsck_lfs/segwrite.c
--- a/sbin/fsck_lfs/segwrite.c  Thu May 14 08:26:29 2020 +0000
+++ b/sbin/fsck_lfs/segwrite.c  Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: segwrite.c,v 1.47 2020/04/03 19:36:33 joerg Exp $ */
+/* $NetBSD: segwrite.c,v 1.48 2020/05/14 08:34:17 msaitoh Exp $ */
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -405,7 +405,7 @@
 
                bn = lfs_fi_getnblocks(fs, sp->fip);
                lfs_fi_setnblocks(fs, sp->fip, bn + 1);
-               lfs_fi_setblock(fs, sp->fip, bn, bp->b_lblkno + j);;
+               lfs_fi_setblock(fs, sp->fip, bn, bp->b_lblkno + j);
        }
 
        sp->sum_bytes_left -= LFS_BLKPTRSIZE(fs) * blksinblk;
diff -r 53839407f282 -r c47faf5ecd2a sbin/gpt/restore.c
--- a/sbin/gpt/restore.c        Thu May 14 08:26:29 2020 +0000
+++ b/sbin/gpt/restore.c        Thu May 14 08:34:17 2020 +0000
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/create.c,v 1.11 2005/08/31 01:47:19 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: restore.c,v 1.18 2018/07/03 03:41:24 jnemeth Exp $");
+__RCSID("$NetBSD: restore.c,v 1.19 2020/05/14 08:34:17 msaitoh Exp $");
 #endif
 
 #include <sys/types.h>
@@ -210,7 +210,7 @@
        prop_string_t propstr;
        unsigned int entries;
        const char *s;
-       void *secbuf = NULL;;
+       void *secbuf = NULL;
        int rv = -1;
 
        last = gpt->mediasz / gpt->secsz - 1LL;
diff -r 53839407f282 -r c47faf5ecd2a sbin/ifconfig/af_inet.c
--- a/sbin/ifconfig/af_inet.c   Thu May 14 08:26:29 2020 +0000
+++ b/sbin/ifconfig/af_inet.c   Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: af_inet.c,v 1.27 2020/04/10 14:32:50 plunky Exp $      */
+/*     $NetBSD: af_inet.c,v 1.28 2020/05/14 08:34:17 msaitoh Exp $     */
 
 /*
  * Copyright (c) 1983, 1993
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: af_inet.c,v 1.27 2020/04/10 14:32:50 plunky Exp $");
+__RCSID("$NetBSD: af_inet.c,v 1.28 2020/05/14 08:34:17 msaitoh Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -64,7 +64,7 @@
 static void in_commit_address(prop_dictionary_t, prop_dictionary_t);
 static bool in_addr_tentative(struct ifaddrs *);
 static bool in_addr_tentative_or_detached(struct ifaddrs *);
-static in_addr_t in_netmask(struct sockaddr *);;
+static in_addr_t in_netmask(struct sockaddr *);
 static int  in_prefixlen(struct sockaddr *);
 static void in_alias(struct ifaddrs *, prop_dictionary_t, prop_dictionary_t);
 
diff -r 53839407f282 -r c47faf5ecd2a sbin/mount_portal/pt_filter.c
--- a/sbin/mount_portal/pt_filter.c     Thu May 14 08:26:29 2020 +0000
+++ b/sbin/mount_portal/pt_filter.c     Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pt_filter.c,v 1.11 2011/01/04 23:36:23 wiz Exp $       */
+/*     $NetBSD: pt_filter.c,v 1.12 2020/05/14 08:34:17 msaitoh Exp $   */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: pt_filter.c,v 1.11 2011/01/04 23:36:23 wiz Exp $");
+__RCSID("$NetBSD: pt_filter.c,v 1.12 2020/05/14 08:34:17 msaitoh Exp $");
 #endif                         /* not lint */
 
 #include <stdio.h>
@@ -61,7 +61,7 @@
 {
        int     i;
        /* Make tempbuff at least as large as buff. */
-       char    *tempbuff = malloc(n);;
+       char    *tempbuff = malloc(n);
        if (tempbuff == NULL)
                err(1, NULL);
 
diff -r 53839407f282 -r c47faf5ecd2a sbin/newfs_udf/udf_create.c
--- a/sbin/newfs_udf/udf_create.c       Thu May 14 08:26:29 2020 +0000
+++ b/sbin/newfs_udf/udf_create.c       Thu May 14 08:34:17 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_create.c,v 1.27 2020/04/05 15:25:40 joerg Exp $ */
+/* $NetBSD: udf_create.c,v 1.28 2020/05/14 08:34:18 msaitoh Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -30,7 +30,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: udf_create.c,v 1.27 2020/04/05 15:25:40 joerg Exp $");



Home | Main Index | Thread Index | Old Index