diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/dig/lib/isc/regex.c | 2 | ||||
-rw-r--r-- | usr.bin/mandoc/mdoc_validate.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/interpreter.c | 4 | ||||
-rw-r--r-- | usr.bin/sort/bwstring.c | 4 | ||||
-rw-r--r-- | usr.bin/sort/coll.c | 4 | ||||
-rw-r--r-- | usr.bin/sort/file.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-pkcs11.c | 6 | ||||
-rw-r--r-- | usr.bin/systat/if.c | 4 | ||||
-rw-r--r-- | usr.bin/systat/main.c | 4 | ||||
-rw-r--r-- | usr.bin/systat/netstat.c | 4 |
11 files changed, 22 insertions, 22 deletions
diff --git a/usr.bin/dig/lib/isc/regex.c b/usr.bin/dig/lib/isc/regex.c index d86faf462b9..a5da7e58e0b 100644 --- a/usr.bin/dig/lib/isc/regex.c +++ b/usr.bin/dig/lib/isc/regex.c @@ -251,7 +251,7 @@ isc_regex_validate(const char *c) { range_start = *c & 0xff; ++c; break; - }; + } break; case parse_ce: switch (*c) { diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c index aa47566638a..997d8b6a395 100644 --- a/usr.bin/mandoc/mdoc_validate.c +++ b/usr.bin/mandoc/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_validate.c,v 1.306 2022/06/08 16:29:12 schwarze Exp $ */ +/* $OpenBSD: mdoc_validate.c,v 1.307 2024/09/20 02:00:46 jsg Exp $ */ /* * Copyright (c) 2010-2021 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> @@ -3042,6 +3042,6 @@ macro2len(enum roff_tok macro) return 10; default: break; - }; + } return 0; } diff --git a/usr.bin/mg/interpreter.c b/usr.bin/mg/interpreter.c index d73e3d64339..79521e56f94 100644 --- a/usr.bin/mg/interpreter.c +++ b/usr.bin/mg/interpreter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interpreter.c,v 1.35 2023/04/17 10:11:30 op Exp $ */ +/* $OpenBSD: interpreter.c,v 1.36 2024/09/20 02:00:46 jsg Exp $ */ /* * This file is in the public domain. * @@ -395,7 +395,7 @@ parsexp(char *begp, const char *par1, const char *par2, int blkid, int expctr, { struct expentry *e1 = NULL; PF funcp; - char *cmdp, *fendp, *valp, *fname, *funb = NULL;; + char *cmdp, *fendp, *valp, *fname, *funb = NULL; int numparams, ret; cmdp = begp; diff --git a/usr.bin/sort/bwstring.c b/usr.bin/sort/bwstring.c index c899462f179..0ded6fd7a7c 100644 --- a/usr.bin/sort/bwstring.c +++ b/usr.bin/sort/bwstring.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwstring.c,v 1.9 2019/05/15 09:33:34 schwarze Exp $ */ +/* $OpenBSD: bwstring.c,v 1.10 2024/09/20 02:00:46 jsg Exp $ */ /*- * Copyright (C) 2009 Gabor Kovesdan <gabor@FreeBSD.org> @@ -293,7 +293,7 @@ bwscsbdup(const unsigned char *str, size_t len) /* NOTREACHED */ err(2, "mbrtowc error"); cptr += charlen; - }; + } } ret->len = chars; diff --git a/usr.bin/sort/coll.c b/usr.bin/sort/coll.c index 9faf50b0f43..3631620be53 100644 --- a/usr.bin/sort/coll.c +++ b/usr.bin/sort/coll.c @@ -1,4 +1,4 @@ -/* $OpenBSD: coll.c,v 1.12 2019/05/13 17:00:12 schwarze Exp $ */ +/* $OpenBSD: coll.c,v 1.13 2024/09/20 02:00:46 jsg Exp $ */ /*- * Copyright (C) 2009 Gabor Kovesdan <gabor@FreeBSD.org> @@ -672,7 +672,7 @@ setsuffix(wchar_t c, unsigned char *si) break; default: *si = 0; - }; + } } /* diff --git a/usr.bin/sort/file.c b/usr.bin/sort/file.c index d3b97f5b2df..a19ffa02563 100644 --- a/usr.bin/sort/file.c +++ b/usr.bin/sort/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.23 2019/12/30 16:07:13 millert Exp $ */ +/* $OpenBSD: file.c,v 1.24 2024/09/20 02:00:46 jsg Exp $ */ /*- * Copyright (C) 2009 Gabor Kovesdan <gabor@FreeBSD.org> @@ -1102,7 +1102,7 @@ sort_list_to_file(struct sort_list *list, const char *outfile) default: errx(2, "The chosen sort method cannot be used with " "stable and/or unique sort"); - }; + } } if (sort_opts_vals.sort_method == SORT_DEFAULT) diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index df8abc2e62e..76e8c12ae4f 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/ssh-keyscan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keyscan.c,v 1.161 2024/09/09 02:39:57 djm Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.162 2024/09/20 02:00:46 jsg Exp $ */ /* * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. * @@ -624,7 +624,7 @@ do_host(char *host) if (addr_cmp(&addr, &end_addr) == 0) break; addr_increment(&addr); - }; + } } } diff --git a/usr.bin/ssh/ssh-pkcs11.c b/usr.bin/ssh/ssh-pkcs11.c index 97c98cc9472..0174255849c 100644 --- a/usr.bin/ssh/ssh-pkcs11.c +++ b/usr.bin/ssh/ssh-pkcs11.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-pkcs11.c,v 1.63 2024/08/15 00:51:51 djm Exp $ */ +/* $OpenBSD: ssh-pkcs11.c,v 1.64 2024/09/20 02:00:46 jsg Exp $ */ /* * Copyright (c) 2010 Markus Friedl. All rights reserved. * Copyright (c) 2014 Pedro Martelletto. All rights reserved. @@ -1171,7 +1171,7 @@ pkcs11_fetch_certs(struct pkcs11_provider *p, CK_ULONG slotidx, } note_key(p, slotidx, __func__, key); if (pkcs11_key_included(keysp, nkeys, key)) { - debug2_f("key already included");; + debug2_f("key already included"); sshkey_free(key); } else { /* expand key array and add key */ @@ -1283,7 +1283,7 @@ pkcs11_fetch_keys(struct pkcs11_provider *p, CK_ULONG slotidx, } note_key(p, slotidx, __func__, key); if (pkcs11_key_included(keysp, nkeys, key)) { - debug2_f("key already included");; + debug2_f("key already included"); sshkey_free(key); } else { /* expand key array and add key */ diff --git a/usr.bin/systat/if.c b/usr.bin/systat/if.c index 66733cff0dc..55166b78bcd 100644 --- a/usr.bin/systat/if.c +++ b/usr.bin/systat/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.27 2021/11/29 06:39:23 deraadt Exp $ */ +/* $OpenBSD: if.c,v 1.28 2024/09/20 02:00:46 jsg Exp $ */ /* * Copyright (c) 2004 Markus Friedl <markus@openbsd.org> * @@ -488,7 +488,7 @@ if_keyboard_callback(int ch) break; default: return keyboard_callback(ch); - }; + } return 1; } diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c index ce7851d8bd2..bdc61bf0ff4 100644 --- a/usr.bin/systat/main.c +++ b/usr.bin/systat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.77 2022/12/04 18:01:57 cheloha Exp $ */ +/* $OpenBSD: main.c,v 1.78 2024/09/20 02:00:46 jsg Exp $ */ /* * Copyright (c) 2001, 2007 Can Erkin Acar * Copyright (c) 2001 Daniel Hartmeier @@ -376,7 +376,7 @@ keyboard_callback(int ch) break; default: return 0; - }; + } return 1; } diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c index 5f80827e70d..24864f07d10 100644 --- a/usr.bin/systat/netstat.c +++ b/usr.bin/systat/netstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netstat.c,v 1.46 2023/10/10 09:27:03 tb Exp $ */ +/* $OpenBSD: netstat.c,v 1.47 2024/09/20 02:00:46 jsg Exp $ */ /* $NetBSD: netstat.c,v 1.3 1995/06/18 23:53:07 cgd Exp $ */ /*- @@ -488,7 +488,7 @@ ns_keyboard_callback(int ch) break; default: return keyboard_callback(ch); - }; + } return 1; } |