aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2009-06-12 23:27:31 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2009-06-12 23:27:31 +0000
commit0309c35e84dab4b2fc51334948874071f8a8f2bc (patch)
tree8ec19c4ead28d53f3fe29a9cc641f1d2fefb3182 /usr.sbin
parent1dc0e27d129f8d0b0437b0ddd94e2817fee72894 (diff)
downloadsrc-0309c35e84dab4b2fc51334948874071f8a8f2bc.tar.gz
src-0309c35e84dab4b2fc51334948874071f8a8f2bc.zip
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/nscd/nscd.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/nscd/nscd.c b/usr.sbin/nscd/nscd.c
index 34a724dfc3cc..1739fac1e9f2 100644
--- a/usr.sbin/nscd/nscd.c
+++ b/usr.sbin/nscd/nscd.c
@@ -573,17 +573,17 @@ get_time_func(struct timeval *time)
}
/*
- * The idea of _nss_cache_cycle_prevention_function is that nsdispatch will
- * search for this symbol in the executable. This symbol is the attribute of
- * the caching daemon. So, if it exists, nsdispatch won't try to connect to
- * the caching daemon and will just ignore the 'cache' source in the
- * nsswitch.conf. This method helps to avoid cycles and organize
- * self-performing requests.
+ * The idea of _nss_cache_cycle_prevention_function is that nsdispatch
+ * will search for this symbol in the executable. This symbol is the
+ * attribute of the caching daemon. So, if it exists, nsdispatch won't try
+ * to connect to the caching daemon and will just ignore the 'cache'
+ * source in the nsswitch.conf. This method helps to avoid cycles and
+ * organize self-performing requests.
+ *
+ * (not actually a function; it used to be, but it doesn't make any
+ * difference, as long as it has external linkage)
*/
-void
-_nss_cache_cycle_prevention_function(void)
-{
-}
+void *_nss_cache_cycle_prevention_function;
int
main(int argc, char *argv[])