summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGernot Tenchio <gernot@tenchio.de>2011-09-21 21:36:56 +0200
committerGernot Tenchio <gernot@tenchio.de>2011-09-21 21:36:56 +0200
commit78bd41ad5e7629e92dffdbe8ac98b3bae104f645 (patch)
tree8b02068002cbda9c143f1284c76d8a42ed4b6f32
parent170033a90707ef350232cfb245c110c8a6fa7340 (diff)
downloadlibvncserver-78bd41ad5e7629e92dffdbe8ac98b3bae104f645.zip
libvncserver-78bd41ad5e7629e92dffdbe8ac98b3bae104f645.tar.gz
md5: forced to use function names with leading underscores
Commented out the surrounding '#ifdef _LIBC' to build md5.o with leading underscores. This is required to match the prototypes defined in md5.h.
-rw-r--r--common/md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/md5.c b/common/md5.c
index c1f3cf2..e185bc1 100644
--- a/common/md5.c
+++ b/common/md5.c
@@ -28,7 +28,7 @@
#include "md5.h"
-#ifdef _LIBC
+/* #ifdef _LIBC */
# include <endian.h>
# if __BYTE_ORDER == __BIG_ENDIAN
# define WORDS_BIGENDIAN 1
@@ -42,7 +42,7 @@
# define md5_read_ctx __md5_read_ctx
# define md5_stream __md5_stream
# define md5_buffer __md5_buffer
-#endif
+/* #endif */
#ifdef WORDS_BIGENDIAN
# define SWAP(n) \
OpenPOWER on IntegriCloud