summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-10-15 16:10:38 +0000
committerchristos <christos@NetBSD.org>2006-10-15 16:10:38 +0000
commit1d0c670b9c6feac79b88ce37d0d605f580148c1e (patch)
tree49e58605dab2a46687a003eb9e22d126c81d43ec /include
parent35a6eb48071426298bfcf48e850230d8be91a8a4 (diff)
add a NULL callback initializer
Diffstat (limited to 'include')
-rw-r--r--include/nsswitch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/nsswitch.h b/include/nsswitch.h
index 8a9622ef117..9f861856eae 100644
--- a/include/nsswitch.h
+++ b/include/nsswitch.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nsswitch.h,v 1.18 2005/11/29 03:12:58 christos Exp $ */
+/* $NetBSD: nsswitch.h,v 1.19 2006/10/15 16:10:38 christos Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999, 2004 The NetBSD Foundation, Inc.
@@ -144,6 +144,7 @@ typedef struct {
#else
# define NS_NIS_CB(F,C)
#endif
+#define NS_NULL_CB { .src = NULL },
/*
* ns_src - `nsswitch source'