xref: /titanic_50/usr/src/lib/libresolv2/common/sunw/sunw_wrappers.c (revision 9525b14bcdeb5b5f6f95ab27c2f48f18bd2ec829)
1 /*
2  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 #include <port_before.h>
7 #include <resolv.h>
8 #include <arpa/inet.h>
9 #include <port_after.h>
10 
11 #undef p_option
12 /* extern const char * isc_p_option(); */
p_option(uint_t option)13 const char *p_option(uint_t option) {
14 	return (isc_p_option((ulong_t)option));
15 }
16 #pragma weak	__p_option		=	p_option
17 
18 #undef p_secstodate
19 /* extern char * isc_p_secstodate (); */
p_secstodate(uint_t secs)20 char *p_secstodate(uint_t secs) {
21 	return (isc_p_secstodate((ulong_t)secs));
22 }
23 #pragma weak	__p_secstodate		=	p_secstodate
24