summaryrefslogtreecommitdiff
path: root/kerberosIV
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-10 10:38:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-10 10:38:41 +0000
commitfaf352cbd82c8716b9bc017bc6f0d88736f87ad9 (patch)
treeca58157790b5fda10db8dd12789c595de00214c0 /kerberosIV
parentce5995e0895c1237ce7eba94a5032a0e19abef0e (diff)
shared libraries can prevent you from writing legal C code
Diffstat (limited to 'kerberosIV')
-rw-r--r--kerberosIV/include/version.h4
-rw-r--r--kerberosIV/krb/Makefile1
-rw-r--r--kerberosIV/krb/version.c3
3 files changed, 6 insertions, 2 deletions
diff --git a/kerberosIV/include/version.h b/kerberosIV/include/version.h
index bc7769d9853..796da6a40e9 100644
--- a/kerberosIV/include/version.h
+++ b/kerberosIV/include/version.h
@@ -1,8 +1,8 @@
#ifndef __VERSION_H__
#define __VERSION_H__
-char *krb4_long_version = "@(#)$Version: krb4-0.9.7";
-char *krb4_version = "krb4-0.9.7";
+extern char *krb4_long_version;
+extern char *krb4_version;
#ifndef VERSION
#define VERSION "0.9.7"
diff --git a/kerberosIV/krb/Makefile b/kerberosIV/krb/Makefile
index abcca126fa6..67bc33333c8 100644
--- a/kerberosIV/krb/Makefile
+++ b/kerberosIV/krb/Makefile
@@ -71,6 +71,7 @@ SRCS= cr_err_reply.c \
logging.c \
k_concat.c \
strtok_r.c \
+ version.c \
base64.c
# XXX base64.c and strtok_r.c should really be somewhere else.
diff --git a/kerberosIV/krb/version.c b/kerberosIV/krb/version.c
new file mode 100644
index 00000000000..ff42549ba9d
--- /dev/null
+++ b/kerberosIV/krb/version.c
@@ -0,0 +1,3 @@
+
+char *krb4_long_version = "@(#)$Version: krb4-0.9.7";
+char *krb4_version = "krb4-0.9.7";