From 823ba5e7f5c4b7eada4bafd654b9f4e4676b3d78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sat, 15 Feb 1997 23:03:03 +0100
Subject: [PATCH] Use add_function instead of add_efun, for hex_to_string and
 string_to_hex.

Rev: src/modules/_Crypto/crypto.c:1.13
---
 src/modules/_Crypto/crypto.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/_Crypto/crypto.c b/src/modules/_Crypto/crypto.c
index de5934aed3..34a75ecd69 100644
--- a/src/modules/_Crypto/crypto.c
+++ b/src/modules/_Crypto/crypto.c
@@ -1,5 +1,5 @@
 /*
- * $Id: crypto.c,v 1.12 1997/02/12 06:10:04 nisse Exp $
+ * $Id: crypto.c,v 1.13 1997/02/15 22:03:03 nisse Exp $
  *
  * A pike module for getting access to some common cryptos.
  *
@@ -487,8 +487,8 @@ void MOD_EXIT(crypto)(void) {}
 
 void pike_module_init(void)
 {
-  add_efun("string_to_hex", f_string_to_hex, "function(string:string)", OPT_TRY_OPTIMIZE);
-  add_efun("hex_to_string", f_hex_to_string, "function(string:string)", OPT_TRY_OPTIMIZE);
+  add_function("string_to_hex", f_string_to_hex, "function(string:string)", OPT_TRY_OPTIMIZE);
+  add_function("hex_to_string", f_hex_to_string, "function(string:string)", OPT_TRY_OPTIMIZE);
 #if 0
   MOD_INIT(md2)();
   MOD_INIT(md5)();
-- 
GitLab