aboutsummaryrefslogtreecommitdiff
path: root/lib/librpcsec_gss/rpcsec_gss_conf.c
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2009-12-28 22:56:30 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2009-12-28 22:56:30 +0000
commit13e403fdeadd26f9748ba83ea50ee271fbfc862a (patch)
tree368556d68241b943dc9c2ec710bd21f97a0e608d /lib/librpcsec_gss/rpcsec_gss_conf.c
parent9189129097632f0cf3dad7c9ac9d69ac39d56b2d (diff)
downloadsrc-13e403fdeadd26f9748ba83ea50ee271fbfc862a.tar.gz
src-13e403fdeadd26f9748ba83ea50ee271fbfc862a.zip
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. PR: 137213 Submitted by: Eygene Ryabinkin (initial version) MFC after: 1 month
Notes
Notes: svn path=/head/; revision=201145
Diffstat (limited to 'lib/librpcsec_gss/rpcsec_gss_conf.c')
-rw-r--r--lib/librpcsec_gss/rpcsec_gss_conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librpcsec_gss/rpcsec_gss_conf.c b/lib/librpcsec_gss/rpcsec_gss_conf.c
index 4a0349be1522..14e063c60d8f 100644
--- a/lib/librpcsec_gss/rpcsec_gss_conf.c
+++ b/lib/librpcsec_gss/rpcsec_gss_conf.c
@@ -55,7 +55,7 @@ struct mech_info {
};
SLIST_HEAD(mech_info_list, mech_info);
-static struct mech_info_list mechs = SLIST_HEAD_INITIALIZER(&mechs);
+static struct mech_info_list mechs = SLIST_HEAD_INITIALIZER(mechs);
static const char **mech_names;
struct qop_info {
@@ -66,7 +66,7 @@ struct qop_info {
};
SLIST_HEAD(qop_info_list, qop_info);
-static struct qop_info_list qops = SLIST_HEAD_INITIALIZER(&qops);
+static struct qop_info_list qops = SLIST_HEAD_INITIALIZER(qops);
static int
_rpc_gss_string_to_oid(const char* s, gss_OID oid)