summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/table_db.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2018-12-26 20:13:44 +0000
committerEric Faurot <eric@cvs.openbsd.org>2018-12-26 20:13:44 +0000
commit21b4570b87638cbe37af868c56c05dae6c3dcb6b (patch)
treed6a48621b3401cab5bd8a508309cbdab46483b28 /usr.sbin/smtpd/table_db.c
parent9256dcad5df335321a0caf34c2a044cca039dcca (diff)
reorder parameters for consistency
Diffstat (limited to 'usr.sbin/smtpd/table_db.c')
-rw-r--r--usr.sbin/smtpd/table_db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/table_db.c b/usr.sbin/smtpd/table_db.c
index 5d031f2d407..c8940616a6c 100644
--- a/usr.sbin/smtpd/table_db.c
+++ b/usr.sbin/smtpd/table_db.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table_db.c,v 1.13 2018/12/26 14:15:13 eric Exp $ */
+/* $OpenBSD: table_db.c,v 1.14 2018/12/26 20:13:43 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
@@ -43,7 +43,7 @@
static int table_db_config(struct table *);
static int table_db_update(struct table *);
static void *table_db_open(struct table *);
-static int table_db_lookup(void *, const char *, enum table_service, char **);
+static int table_db_lookup(void *, enum table_service, const char *, char **);
static int table_db_fetch(void *, enum table_service, char **);
static void table_db_close(void *);
@@ -143,7 +143,7 @@ table_db_close(void *hdl)
}
static int
-table_db_lookup(void *hdl, const char *key, enum table_service service,
+table_db_lookup(void *hdl, enum table_service service, const char *key,
char **dst)
{
struct dbhandle *handle = hdl;