Module Name: src
Committed By: rillig
Date: Tue Apr 4 20:39:36 UTC 2023
Modified Files:
src/sbin/mount_portal: puffs_portal.c
Log Message:
mount_portal: fix lint warnings about extern and empty declarations
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sbin/mount_portal/puffs_portal.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/mount_portal/puffs_portal.c
diff -u src/sbin/mount_portal/puffs_portal.c:1.10 src/sbin/mount_portal/puffs_portal.c:1.11
--- src/sbin/mount_portal/puffs_portal.c:1.10 Thu May 23 11:13:17 2019
+++ src/sbin/mount_portal/puffs_portal.c Tue Apr 4 20:39:36 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_portal.c,v 1.10 2019/05/23 11:13:17 kre Exp $ */
+/* $NetBSD: puffs_portal.c,v 1.11 2023/04/04 20:39:36 rillig Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: puffs_portal.c,v 1.10 2019/05/23 11:13:17 kre Exp $");
+__RCSID("$NetBSD: puffs_portal.c,v 1.11 2023/04/04 20:39:36 rillig Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -57,7 +57,7 @@ struct portal_node {
__dead static void usage(void);
-PUFFSOP_PROTOS(portal);
+PUFFSOP_PROTOS(portal)
#define PORTAL_ROOT NULL
#define METADATASIZE (sizeof(int) + sizeof(size_t))
@@ -396,8 +396,6 @@ provide(struct puffs_usermount *pu, stru
int
main(int argc, char *argv[])
{
- extern char *optarg;
- extern int optind;
struct puffs_usermount *pu;
struct puffs_ops *pops;
mntoptparse_t mp;