components/cyrus-sasl/patches/103-remove-ifdef-sun-gethostname.patch
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Mon, 03 Oct 2016 13:19:13 -0700
changeset 7042 582373e0fdee
parent 5055 9daf220c1a9a
permissions -rw-r--r--
23245494 Move sgml-common 0.6.3 to Userland 23245497 Move xml-common 0.6.3 to Userland LSARC/2005/734 GNOME For Nevada

Developed in-house at Oracle 
ifdef sun for gethostname in saslutil.c is obsolete
Intended to go upstream

diff -ru old/lib/saslutil.c new/lib/saslutil.c
--- old/lib/saslutil.c	2012-10-12 07:05:48.000000000 -0700
+++ new/lib/saslutil.c	2014-09-15 17:16:31.437610001 -0700
@@ -80,11 +80,6 @@
  * sasl_erasebuffer
  */
 
-#ifdef sun
-/* gotta define gethostname ourselves on suns */
-extern int gethostname(char *, int);
-#endif
-
 char *encode_table;
 char *decode_table;