-/* $OpenBSD: rpc_prot.c,v 1.16 2020/08/30 23:15:31 mortimer Exp $ */
+/* $OpenBSD: rpc_prot.c,v 1.17 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
if (msg->acpted_rply.ar_stat == SUCCESS) {
error->re_status = RPC_SUCCESS;
return;
- };
+ }
accepted(msg->acpted_rply.ar_stat, error);
break;
-/* $OpenBSD: malloc.c,v 1.296 2024/03/30 07:50:39 miod Exp $ */
+/* $OpenBSD: malloc.c,v 1.297 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2008, 2010, 2011, 2016, 2023 Otto Moerbeek <otto@drijf.net>
* Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
if (((alignment - 1) & alignment) != 0 || alignment == 0) {
errno = EINVAL;
return NULL;
- };
+ }
/* Per spec, size should be a multiple of alignment */
if ((size & (alignment - 1)) != 0) {
errno = EINVAL;
-/* $OpenBSD: rthread_mutex.c,v 1.5 2019/02/13 13:09:32 mpi Exp $ */
+/* $OpenBSD: rthread_mutex.c,v 1.6 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2017 Martin Pieuchot <mpi@openbsd.org>
* Copyright (c) 2012 Philip Guenther <guenther@openbsd.org>
* doubt set the state to CONTENDED.
*/
lock = atomic_swap_uint(&mutex->lock, CONTENDED);
- };
+ }
membar_enter_after_atomic();
mutex->owner = self;
-/* $OpenBSD: fuse_private.h,v 1.22 2018/11/16 02:16:17 tedu Exp $ */
+/* $OpenBSD: fuse_private.h,v 1.23 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
#define tree_empty(t) SPLAY_EMPTY((t))
int tree_check(struct tree *, uint64_t);
void *tree_set(struct tree *, uint64_t, void *);
-void *tree_get(struct tree *, uint64_t);;
+void *tree_get(struct tree *, uint64_t);
void *tree_pop(struct tree *, uint64_t);
/* dict.c */
int dict_check(struct dict *, const char *);
void *dict_set(struct dict *, const char *, void *);
-void *dict_get(struct dict *, const char *);;
+void *dict_get(struct dict *, const char *);
void *dict_pop(struct dict *, const char *);
#define FUSE_VERSION_PKG_INFO "2.8.0"
-/* $OpenBSD: pkcs5_pbkdf2.c,v 1.11 2019/11/21 16:07:24 tedu Exp $ */
+/* $OpenBSD: pkcs5_pbkdf2.c,v 1.12 2024/09/20 02:00:46 jsg Exp $ */
/*-
* Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
memcpy(key, obuf, r);
key += r;
key_len -= r;
- };
+ }
freezero(asalt, salt_len + 4);
explicit_bzero(d1, sizeof(d1));
explicit_bzero(d2, sizeof(d2));
-/* $OpenBSD: parse.y,v 1.716 2024/07/14 19:51:08 sashan Exp $ */
+/* $OpenBSD: parse.y,v 1.717 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
char *path_cut;
int sz;
struct pfr_uktable *ukt;
- SLIST_HEAD(, pfr_uktable) ukt_list;;
+ SLIST_HEAD(, pfr_uktable) ukt_list;
/*
* Here we need to rename anchor path from temporal names such as
-/* $OpenBSD: pci_2100_a50.c,v 1.25 2024/09/19 01:05:48 jsg Exp $ */
+/* $OpenBSD: pci_2100_a50.c,v 1.26 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: pci_2100_a50.c,v 1.12 1996/11/13 21:13:29 cgd Exp $ */
/*
case PCI_INTERRUPT_PIN_C:
pirq = 1;
break;
- };
+ }
break;
case 12: /* slot 2 */
case PCI_INTERRUPT_PIN_C:
pirq = 2;
break;
- };
+ }
break;
case 13: /* slot 3 */
case PCI_INTERRUPT_PIN_C:
pirq = 0;
break;
- };
+ }
break;
default:
-/* $OpenBSD: pci_axppci_33.c,v 1.22 2017/09/08 05:36:51 deraadt Exp $ */
+/* $OpenBSD: pci_axppci_33.c,v 1.23 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: pci_axppci_33.c,v 1.10 1996/11/13 21:13:29 cgd Exp $ */
/*
case PCI_INTERRUPT_PIN_C:
pirq = 1;
break;
- };
+ }
break;
case 12: /* slot 2 */
case PCI_INTERRUPT_PIN_C:
pirq = 2;
break;
- };
+ }
break;
case 8: /* slot 3 */
case PCI_INTERRUPT_PIN_C:
pirq = 0;
break;
- };
+ }
break;
default:
-/* $OpenBSD: pmap.c,v 1.173 2024/09/03 17:19:53 bluhm Exp $ */
+/* $OpenBSD: pmap.c,v 1.174 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
*/
protection_codes[PROT_NONE] = pg_nx; /* --- */
- protection_codes[PROT_EXEC] = pg_xo; ; /* --x */
+ protection_codes[PROT_EXEC] = pg_xo; /* --x */
protection_codes[PROT_READ] = PG_RO | pg_nx; /* -r- */
protection_codes[PROT_READ | PROT_EXEC] = PG_RO; /* -rx */
protection_codes[PROT_WRITE] = PG_RW | pg_nx; /* w-- */
-/* $OpenBSD: disassem.c,v 1.5 2018/06/30 15:23:35 deraadt Exp $ */
+/* $OpenBSD: disassem.c,v 1.6 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: disassem.c,v 1.14 2003/03/27 16:58:36 mycroft Exp $ */
/*
else
di->di_printf(", ");
}
- };
+ }
di->di_printf("\n");
-/* $OpenBSD: db_disasm.c,v 1.20 2020/01/02 16:00:54 visa Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.21 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
* SUCH DAMAGE.
*
* from: @(#)kadb.c 8.1 (Berkeley) 6/10/93
- * $Id: db_disasm.c,v 1.20 2020/01/02 16:00:54 visa Exp $
+ * $Id: db_disasm.c,v 1.21 2024/09/20 02:00:46 jsg Exp $
*/
#ifdef _KERNEL
(*pr)("\t%s,%s,%s",
reg_name[i.RType.rd], reg_name[i.RType.rs],
reg_name[i.RType.rt]);
- };
+ }
break;
case OP_BCOND:
break;
default:
goto unknown;
- };
+ }
break;
case OP_COP1:
(*pr)("%s.%s\tf%d,f%d,f%d",
insn, fmt_name[i.FRType.fmt],
i.FRType.fd, i.FRType.fs, i.FRType.ft);
- };
+ }
break;
case OP_COP2:
goto pr_displ;
default:
goto unknown;
- };
+ }
break;
case OP_COP1X:
-/* $OpenBSD: trap.c,v 1.171 2024/01/11 19:16:26 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.172 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 1988 University of Utah.
case OP_SYSCALL:
case OP_BREAK:
more = 1; /* stop now */
- };
+ }
break;
case OP_BCOND:
switch (i.RType.rs) {
case OP_BC:
more = 2; /* stop after next instruction */
- };
+ }
break;
case OP_SD:
-/* $OpenBSD: db_disasm.c,v 1.5 2021/05/12 23:08:19 deraadt Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.6 2024/09/20 02:00:46 jsg Exp $ */
/*-
* Copyright (c) 2016-2018 Ruslan Bukin <br@bsdpad.com>
imm = ((insn >> 2) & 0x1f) << 0;
imm |= ((insn >> 12) & 0x1) << 5;
db_printf("%d", imm);
- };
+ }
break;
case 'd':
db_printf("%s", reg_name[rd]);
oprint(op, loc, insn);
return (loc + 4);
}
- };
+ }
insn = db_get_value(loc, 2, 0);
for (j = 0; riscv_c_opcodes[j].name != NULL; j++) {
oprint(op, loc, insn);
break;
}
- };
+ }
db_printf("\n");
return (loc + 2);
-/* $OpenBSD: db_disasm.c,v 1.9 2020/09/11 09:27:10 mpi Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.10 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: db_disasm.c,v 1.9 2000/08/16 11:29:42 pk Exp $ */
/*
break;
}
i_ptr++;
- };
+ }
if (!matchp) {
db_printf("undefined\n");
}
if (*(++f_ptr))
db_printf(", ");
- };
+ }
db_printf("\n");
-/* $OpenBSD: dsdt.c,v 1.270 2024/08/06 17:38:56 kettenis Exp $ */
+/* $OpenBSD: dsdt.c,v 1.271 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
default:
snprintf(buffer, sizeof(buffer),
"Failed to convert type %d to string!", val->type);
- };
+ }
return (buffer);
}
-/* $OpenBSD: adv.c,v 1.53 2022/04/16 19:19:58 naddy Exp $ */
+/* $OpenBSD: adv.c,v 1.54 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: adv.c,v 1.6 1998/10/28 20:39:45 dante Exp $ */
/*
*/
error = adv_alloc_ccbs(sc);
if (error)
- return; /* (error) */ ;
+ return; /* (error) */
/*
* Create and initialize the Control Blocks.
-/* $OpenBSD: adw.c,v 1.70 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: adw.c,v 1.71 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: adw.c,v 1.23 2000/05/27 18:24:50 dante Exp $ */
/*
*/
error = adw_alloc_controls(sc);
if (error)
- return; /* (error) */ ;
+ return; /* (error) */
/*
* Create and initialize the Control Blocks.
*/
error = adw_alloc_carriers(sc);
if (error)
- return; /* (error) */ ;
+ return; /* (error) */
/*
* Zero's the freeze_device status
-/* $OpenBSD: ami.c,v 1.263 2024/06/26 01:40:49 jsg Exp $ */
+/* $OpenBSD: ami.c,v 1.264 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
cmd->acc_io.aio_param = par2;
cmd->acc_io.aio_pad[0] = par3;
break;
- };
+ }
cmd->acc_io.aio_data = am ? htole32(AMIMEM_DVA(am)) : 0;
-/* $OpenBSD: rt2860.c,v 1.103 2024/04/14 03:26:25 jsg Exp $ */
+/* $OpenBSD: rt2860.c,v 1.104 2024/09/20 02:00:46 jsg Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
sc->ext_5ghz_lna = (val >> 3) & 1;
sc->ext_2ghz_lna = (val >> 2) & 1;
/* check if RF supports automatic Tx access gain control */
- sc->calib_2ghz = sc->calib_5ghz = 0; /* XXX (val >> 1) & 1 */;
+ sc->calib_2ghz = sc->calib_5ghz = 0; /* XXX (val >> 1) & 1 */
/* check if we have a hardware radio switch */
sc->rfswitch = val & 1;
}
-/* $OpenBSD: rtwn.c,v 1.58 2024/06/26 01:40:49 jsg Exp $ */
+/* $OpenBSD: rtwn.c,v 1.59 2024/09/20 02:00:46 jsg Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
rtwn_rf_write(sc, i, 0x87, 0x65);
rtwn_rf_write(sc, i, 0x1c, 0);
rtwn_rf_write(sc, i, 0xdf, 0x0140);
- rtwn_rf_write(sc, i, 0x1b, 0x1c6c);;
+ rtwn_rf_write(sc, i, 0x1b, 0x1c6c);
}
}
}
-/* $OpenBSD: ti.c,v 1.30 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: ti.c,v 1.31 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
for (i = 0; i < TI_JUMBO_RX_RING_CNT; i++) {
if (ti_newbuf_jumbo(sc, i, NULL, 0) == ENOBUFS)
return (ENOBUFS);
- };
+ }
TI_UPDATE_JUMBOPROD(sc, i - 1);
sc->ti_jumbo = i - 1;
for (i = 0; i < TI_MSLOTS; i++) {
if (ti_newbuf_mini(sc, i, NULL, 0) == ENOBUFS)
return (ENOBUFS);
- };
+ }
TI_UPDATE_MINIPROD(sc, i - 1);
sc->ti_mini = i - 1;
-/* $OpenBSD: auixp.c,v 1.54 2024/08/18 14:42:56 deraadt Exp $ */
+/* $OpenBSD: auixp.c,v 1.55 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */
/*
void auixp_update_busbusy(struct auixp_softc *);
#ifdef DEBUG_AUIXP
-#define DPRINTF(x) printf x;
+#define DPRINTF(x) printf x
#else
#define DPRINTF(x)
#endif
/* have to wait at least 10 usec for it to initialise */
DELAY(20);
- };
+ }
printf("%s: soft resetting aclink\n", sc->sc_dev.dv_xname);
timeout--;
if (timeout == 0) break;
- };
+ }
if (timeout == 0) {
printf("%s: giving up aclink reset\n", sc->sc_dev.dv_xname);
- };
+ }
if (timeout != 10) {
printf("%s: aclink hardware reset successful\n",
sc->sc_dev.dv_xname);
- };
+ }
/* assert reset and sync for safety */
value = bus_space_read_4(iot, ioh, ATI_REG_CMD);
& (PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MEM_ENABLE))
== (PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MEM_ENABLE)) {
dev_priv->primary = 1;
- dev_priv->console = vga_is_console(pa->pa_iot, -1);;
+ dev_priv->console = vga_is_console(pa->pa_iot, -1);
vga_console_attached = 1;
}
-/* $OpenBSD: maestro.c,v 1.55 2024/09/04 07:54:52 mglocker Exp $ */
+/* $OpenBSD: maestro.c,v 1.56 2024/09/20 02:00:46 jsg Exp $ */
/* $FreeBSD: /c/ncvs/src/sys/dev/sound/pci/maestro.c,v 1.3 2000/11/21 12:22:11 julian Exp $ */
/*
* FreeBSD's ESS Agogo/Maestro driver
0, &sc->iot, &sc->ioh, NULL, NULL, 0)) != 0) {
printf(", can't map i/o space\n");
goto bad;
- };
+ }
/* Allocate fixed DMA segment :-( */
sc->dmasize = MAESTRO_BUFSIZ * 16;
-/* $OpenBSD: vmwpvs.c,v 1.29 2024/09/04 07:54:52 mglocker Exp $ */
+/* $OpenBSD: vmwpvs.c,v 1.30 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
printf("%s: error probing target %d lun %d\n",
DEVNAME(sc), letoh32(dvmsg->target),
dvmsg->lun[1]);
- };
+ }
break;
case VMWPVS_MSG_T_REMOVED:
printf("%s: error detaching target %d lun %d\n",
DEVNAME(sc), letoh32(dvmsg->target),
dvmsg->lun[1]);
- };
+ }
break;
default:
-/* $OpenBSD: ubsa.c,v 1.70 2024/05/23 03:21:09 jsg Exp $ */
+/* $OpenBSD: ubsa.c,v 1.71 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: ubsa.c,v 1.5 2002/11/25 00:51:33 fvdl Exp $ */
/*-
* Copyright (c) 2002, Alexander Kabaev <kan.FreeBSD.org>.
sc->sc_dev.dv_xname));
value = B230400 / B9600;
break;
- };
+ }
if (speed == B0) {
ubsa_flow(sc, 0, 0);
-/* $OpenBSD: udf_vnops.c,v 1.73 2024/09/12 09:04:51 claudio Exp $ */
+/* $OpenBSD: udf_vnops.c,v 1.74 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
}
if (error)
break;
- };
+ }
return (error);
}
-/* $OpenBSD: pkcs5_pbkdf2.c,v 1.1 2016/09/10 16:38:16 jsing Exp $ */
+/* $OpenBSD: pkcs5_pbkdf2.c,v 1.2 2024/09/20 02:00:46 jsg Exp $ */
/*-
* Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
memcpy(key, obuf, r);
key += r;
key_len -= r;
- };
+ }
explicit_bzero(asalt, salt_len + 4);
free(asalt, salt_len + 4);
explicit_bzero(d1, sizeof(d1));
-/* $OpenBSD: if_pppx.c,v 1.130 2024/09/09 07:37:47 mvs Exp $ */
+/* $OpenBSD: if_pppx.c,v 1.131 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org>
ifp->if_softc = sc;
ifp->if_type = IFT_L3IPVLAN;
- ifp->if_hdrlen = sizeof(uint32_t); /* for BPF */;
+ ifp->if_hdrlen = sizeof(uint32_t); /* for BPF */
ifp->if_mtu = MAXMCLBYTES - sizeof(uint32_t);
ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST;
ifp->if_xflags = IFXF_CLONED | IFXF_MPSAFE;
-/* $OpenBSD: route.c,v 1.436 2024/03/31 15:53:12 bluhm Exp $ */
+/* $OpenBSD: route.c,v 1.437 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
if (rt->rt_gateway == gate) {
/* nop */
return (0);
- };
+ }
sa = malloc(glen, M_RTABLE, M_NOWAIT | M_ZERO);
if (sa == NULL)
-/* $OpenBSD: ext2fs_lookup.c,v 1.47 2024/09/12 09:04:51 claudio Exp $ */
+/* $OpenBSD: ext2fs_lookup.c,v 1.48 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: ext2fs_lookup.c,v 1.16 2000/08/03 20:29:26 thorpej Exp $ */
/*
newdir.e2d_type = inot2ext2dt(IFTODT(ip->i_e2fs_mode));
} else {
newdir.e2d_type = 0;
- };
+ }
memcpy(newdir.e2d_name, cnp->cn_nameptr, (unsigned)cnp->cn_namelen + 1);
newentrysize = EXT2FS_DIRSIZ(cnp->cn_namelen);
if (dp->i_count == 0) {
range_start = *c & 0xff;
++c;
break;
- };
+ }
break;
case parse_ce:
switch (*c) {
-/* $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>
return 10;
default:
break;
- };
+ }
return 0;
}
-/* $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.
*
{
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;
-/* $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>
/* NOTREACHED */
err(2, "mbrtowc error");
cptr += charlen;
- };
+ }
}
ret->len = chars;
-/* $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>
break;
default:
*si = 0;
- };
+ }
}
/*
-/* $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>
default:
errx(2, "The chosen sort method cannot be used with "
"stable and/or unique sort");
- };
+ }
}
if (sort_opts_vals.sort_method == SORT_DEFAULT)
-/* $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>.
*
if (addr_cmp(&addr, &end_addr) == 0)
break;
addr_increment(&addr);
- };
+ }
}
}
-/* $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.
}
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 */
}
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 */
-/* $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>
*
break;
default:
return keyboard_callback(ch);
- };
+ }
return 1;
}
-/* $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
break;
default:
return 0;
- };
+ }
return 1;
}
-/* $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 $ */
/*-
break;
default:
return keyboard_callback(ch);
- };
+ }
return 1;
}
-/* $OpenBSD: parse.y,v 1.467 2024/08/22 08:17:54 florian Exp $ */
+/* $OpenBSD: parse.y,v 1.468 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
getcommunity(q, 1, &c->data3, &dflag3) == -1)
return (-1);
c->flags = COMMUNITY_TYPE_LARGE;
- c->flags |= dflag1 << 8;;
- c->flags |= dflag2 << 16;;
- c->flags |= dflag3 << 24;;
+ c->flags |= dflag1 << 8;
+ c->flags |= dflag2 << 16;
+ c->flags |= dflag3 << 24;
return (0);
}
-/* $OpenBSD: print.c,v 1.15 2024/04/23 13:34:51 jsg Exp $ */
+/* $OpenBSD: print.c,v 1.16 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
default:
fprintf(fd, "Unknown");
break;
- };
+ }
}
void
default:
fprintf(fd, "Unknown");
break;
- };
+ }
}
void
default:
fprintf(fd, "Unknown\n");
break;
- };
+ }
break;
case MOP_K_INFO_DLTY:
tmpc = mopGetChar(pkt, idx);
default:
fprintf(fd, "Unknown\n");
break;
- };
+ }
break;
case MOP_K_INFO_DLBSZ:
tmps = mopGetShort(pkt, idx);
-/* $OpenBSD: mopchk.c,v 1.21 2023/09/06 11:03:30 jsg Exp $ */
+/* $OpenBSD: mopchk.c,v 1.22 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
if (GetMopFileInfo(&dl, INFO_PRINT) < 0) {
printf("Some failure in GetMopFileInfo\n");
}
- };
+ }
}
(void)close(dl.ldfd);
}
-/* $OpenBSD: npppd_subr.c,v 1.22 2024/08/22 07:56:47 florian Exp $ */
+/* $OpenBSD: npppd_subr.c,v 1.23 2024/09/20 02:00:46 jsg Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
{
const char *r;
for (r = s; *r != '\0' && isspace((unsigned char)*r); r++)
- ;; /* skip */
+ ; /* skip */
return r;
}
-/* $OpenBSD: util.c,v 1.4 2023/06/21 07:49:24 claudio Exp $ */
+/* $OpenBSD: util.c,v 1.5 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
return ("unknown");
case HOST_UP:
return ("up");
- };
+ }
/* NOTREACHED */
return ("invalid");
}
return ("send expect");
case CHECK_SCRIPT:
return ("script");
- };
+ }
/* NOTREACHED */
return ("invalid");
}
return ("closed");
case STATE_DONE:
return ("done");
- };
+ }
/* NOTREACHED */
return ("invalid");
}
-/* $OpenBSD: tftpd.c,v 1.51 2024/05/21 05:00:48 jsg Exp $ */
+/* $OpenBSD: tftpd.c,v 1.52 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2012 David Gwynne <dlg@uq.edu.au>
tftp_open(client, filename);
free(filename);
- };
+ }
}
int
-/* $OpenBSD: sev.c,v 1.1 2024/09/11 15:42:52 bluhm Exp $ */
+/* $OpenBSD: sev.c,v 1.2 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2023, 2024 Hans-Joerg Hoexer <hshoexer@genua.de>
if (psp_launch_start(&handle) < 0) {
log_warnx("%s: launch failed", __func__);
return (-1);
- };
+ }
vm->vm_sev_handle = handle;
if (psp_get_gstate(vm->vm_sev_handle, NULL, NULL, &gstate)) {