[rtems-libbsd commit] Provide the missing cdecl for _nsdispatch.

Chris Johns chrisj at rtems.org
Tue Jun 16 03:21:14 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    7c8c0eb134ed58000cb6c5079c5577a6ccd0dd02
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=7c8c0eb134ed58000cb6c5079c5577a6ccd0dd02

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Jun 16 12:53:46 2015 +1000

Provide the missing cdecl for _nsdispatch.

---

 freebsd/lib/libc/net/netdb_private.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/freebsd/lib/libc/net/netdb_private.h b/freebsd/lib/libc/net/netdb_private.h
index 9892c01..ed3465e 100644
--- a/freebsd/lib/libc/net/netdb_private.h
+++ b/freebsd/lib/libc/net/netdb_private.h
@@ -139,4 +139,7 @@ void _sethosthtent(int, struct hostent_data *);
 void _setnetdnsent(int);
 void _setnethtent(int, struct netent_data *);
 
+int _nsdispatch(void *retval, const ns_dtab disp_tab[], const char *database,
+                const char *method_name, const ns_src defaults[], ...);
+
 #endif /* _NETDB_PRIVATE_H_ */



More information about the vc mailing list