xref: /titanic_41/usr/src/lib/libresolv2/common/sunw/sunw_wrappers.c (revision 4445fffbbb1ea25fd0e9ea68b9380dd7a6709025)
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(); */
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 (); */
20 char *p_secstodate(uint_t secs) {
21 	return (isc_p_secstodate((ulong_t)secs));
22 }
23 #pragma weak	__p_secstodate		=	p_secstodate
24