summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/table_getpwnam.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2018-12-26 14:15:12 +0000
committereric <eric@openbsd.org>2018-12-26 14:15:12 +0000
commit699c3f9856bf8bb33165f2efbcf449e73d070c6f (patch)
tree726a1c255c6036d88a3172e120075565823752c4 /usr.sbin/smtpd/table_getpwnam.c
parentunbreak VPN routes installation into FIB (diff)
downloadwireguard-openbsd-699c3f9856bf8bb33165f2efbcf449e73d070c6f.tar.xz
wireguard-openbsd-699c3f9856bf8bb33165f2efbcf449e73d070c6f.zip
get rid of the unused dict argument in table lookup and fetch api.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/table_getpwnam.c')
-rw-r--r--usr.sbin/smtpd/table_getpwnam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/table_getpwnam.c b/usr.sbin/smtpd/table_getpwnam.c
index 665df8cafcc..98d2e640253 100644
--- a/usr.sbin/smtpd/table_getpwnam.c
+++ b/usr.sbin/smtpd/table_getpwnam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table_getpwnam.c,v 1.6 2018/12/26 11:53:02 eric Exp $ */
+/* $OpenBSD: table_getpwnam.c,v 1.7 2018/12/26 14:15:13 eric Exp $ */
/*
* Copyright (c) 2012 Gilles Chehade <gilles@poolp.org>
@@ -41,7 +41,7 @@
static int table_getpwnam_config(struct table *);
static int table_getpwnam_update(struct table *);
static void *table_getpwnam_open(struct table *);
-static int table_getpwnam_lookup(void *, struct dict *, const char *, enum table_service,
+static int table_getpwnam_lookup(void *, const char *, enum table_service,
char **);
static void table_getpwnam_close(void *);
@@ -83,7 +83,7 @@ table_getpwnam_close(void *hdl)
}
static int
-table_getpwnam_lookup(void *hdl, struct dict *params, const char *key, enum table_service kind,
+table_getpwnam_lookup(void *hdl, const char *key, enum table_service kind,
char **dst)
{
struct passwd *pw;