diff options
| author | rillig <rillig@NetBSD.org> | 2023-04-04 20:39:36 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2023-04-04 20:39:36 +0000 |
| commit | 97c0e2b644586dc12ba0a7ca4b2a804828ac0f19 (patch) | |
| tree | 4b296c4327f6368a240a4029b714bfff39f4fc99 /sbin | |
| parent | b789af412b7d6fecb4be97782cd984dd23e86ef8 (diff) | |
mount_portal: fix lint warnings about extern and empty declarations
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/mount_portal/puffs_portal.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/mount_portal/puffs_portal.c b/sbin/mount_portal/puffs_portal.c index 7f5284da469..7e51f530a49 100644 --- a/sbin/mount_portal/puffs_portal.c +++ b/sbin/mount_portal/puffs_portal.c @@ -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, struct portal_node *portn, int main(int argc, char *argv[]) { - extern char *optarg; - extern int optind; struct puffs_usermount *pu; struct puffs_ops *pops; mntoptparse_t mp; |
