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