/soc/2012/michael/android: e04f7e65d202: Changed res_init links ...

Michael Zangl michael at soc.pidgin.im
Sat Jun 16 08:12:49 EDT 2012


Changeset: e04f7e65d202567628449880e9b9da3e667b5a4f
Author:	 Michael Zangl <michael at soc.pidgin.im>
Date:	 2012-06-16 13:47 +0200
Branch:	 soc.2012.android
URL: http://hg.pidgin.im/soc/2012/michael/android/rev/e04f7e65d202

Description:

Changed res_init links so that they match the default libc of android.

diffstat:

 android/workspace/im.pidgin.libpurple.build/buildscripts/androidarpa.h |  17 +++++----
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (29 lines):

diff --git a/android/workspace/im.pidgin.libpurple.build/buildscripts/androidarpa.h b/android/workspace/im.pidgin.libpurple.build/buildscripts/androidarpa.h
--- a/android/workspace/im.pidgin.libpurple.build/buildscripts/androidarpa.h
+++ b/android/workspace/im.pidgin.libpurple.build/buildscripts/androidarpa.h
@@ -258,16 +258,17 @@
 
 
 // they are in libc, even if they are not in the headers. So just put them here.
-#define res_close		__res_close
-#define res_init		__res_init
-#define res_isourserver		__res_isourserver
-#define res_mkquery		__res_mkquery
-#define res_query		__res_query
-#define res_querydomain		__res_querydomain
-#define res_search		__res_search
-#define res_send		__res_send
+int res_init(void);
 
+int res_query(const char *dname, int class, int type,
+              unsigned char *answer, int anslen);
 
+int res_search(const char *dname, int class, int type,
+              unsigned char *answer, int anslen);
+
+int res_querydomain(const char *name, const char *domain,
+              int class, int type, unsigned char *answer,
+              int anslen);
 
 #endif
 #endif



More information about the Commits mailing list