-/* $OpenBSD: ndbm.c,v 1.27 2021/10/24 10:05:22 jsg Exp $ */
+/* $OpenBSD: ndbm.c,v 1.28 2023/02/17 17:59:36 miod Exp $ */
/*-
* Copyright (c) 1990, 1993
* First are the DBM routines, which call the NDBM routines, and
* the NDBM routines, which call the DB routines.
*/
-static DBM *__cur_db;
static DBM *_dbm_open(const char *, const char *, int, mode_t);
-/* $OpenBSD: popen.c,v 1.30 2020/12/27 15:11:04 florian Exp $ */
+/* $OpenBSD: popen.c,v 1.31 2023/02/17 17:59:36 miod Exp $ */
/* $NetBSD: popen.c,v 1.5 1995/04/11 02:45:00 cgd Exp $ */
/*
FILE *
ftpd_ls(const char *path, pid_t *pidptr)
{
- char *cp;
FILE *iop;
int argc = 0, pdes[2];
pid_t pid;
-/* $OpenBSD: arch.c,v 1.92 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: arch.c,v 1.93 2023/02/17 17:59:36 miod Exp $ */
/* $NetBSD: arch.c,v 1.17 1996/11/06 17:58:59 christos Exp $ */
/*
char name[1]; /* Archive name. */
} Arch;
-/* Used to get to ar's field sizes. */
-static struct ar_hdr *dummy;
-#define AR_NAME_SIZE (sizeof(dummy->ar_name))
-#define AR_DATE_SIZE (sizeof(dummy->ar_date))
+#define AR_NAME_SIZE (sizeof(((struct ar_hdr *)0)->ar_name))
+#define AR_DATE_SIZE (sizeof(((struct ar_hdr *)0)->ar_date))
/* Each archive member is tied to an arch_member structure,
* suitable for hashing. */