[haiku-commits] r39411 - haiku/branches/developer/bonefish/weak-symbols/headers/posix

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 12 Nov 2010 21:30:36 +0100 (CET)

Author: bonefish
Date: 2010-11-12 21:30:36 +0100 (Fri, 12 Nov 2010)
New Revision: 39411
Changeset: http://dev.haiku-os.org/changeset/39411

Modified:
   haiku/branches/developer/bonefish/weak-symbols/headers/posix/resolv.h
Log:
Don't advertise _getshort() and _getlong(). They are not available.


Modified: haiku/branches/developer/bonefish/weak-symbols/headers/posix/resolv.h
===================================================================
--- haiku/branches/developer/bonefish/weak-symbols/headers/posix/resolv.h       
2010-11-12 15:12:37 UTC (rev 39410)
+++ haiku/branches/developer/bonefish/weak-symbols/headers/posix/resolv.h       
2010-11-12 20:30:36 UTC (rev 39411)
@@ -406,7 +406,7 @@
 int                            dn_skipname(const u_char *, const u_char *);
 void                   putlong(u_int32_t, u_char *);
 void                   putshort(u_int16_t, u_char *);
-#ifndef __ultrix__
+#if !defined(__ultrix__) && !defined(__HAIKU__)
 u_int16_t              _getshort(const u_char *);
 u_int32_t              _getlong(const u_char *);
 #endif


Other related posts:

  • » [haiku-commits] r39411 - haiku/branches/developer/bonefish/weak-symbols/headers/posix - ingo_weinhold