]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(des_set_key): Name mangling, linker symbols should use a
authorNiels Möller <nisse@lysator.liu.se>
Wed, 5 Feb 2003 22:30:44 +0000 (23:30 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 5 Feb 2003 22:30:44 +0000 (23:30 +0100)
"nettle_" prefix, and this one collided with openssl. Perhaps all
symbols should be mangled in a similar way, but that's for later.

Rev: src/nettle/des.h:1.7

des.h

diff --git a/des.h b/des.h
index 9903f034174ae9479740f7fc2ffa57dee607bec7..9f674736a5a9b9297322881727b8f648d1922946 100644 (file)
--- a/des.h
+++ b/des.h
 #ifndef NETTLE_DES_H_INCLUDED
 #define NETTLE_DES_H_INCLUDED
 
+/* Namespace mangling.
+ *
+ * FIXME: In the long run, all nettle symbols should probably have the
+ * prefix nettle_, with the appropriate header file defining
+ * shorthands. */
+
+#define des_set_key nettle_des_set_key
+
 #include <inttypes.h>
 
 #define DES_KEY_SIZE 8