From 1e17fff67c0d98a46833ce16dd4b16766cc16a48 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 9 Jul 2001 12:07:56 +0000 Subject: [PATCH] * setenv.c: Include pos-obsolete.h * pos-obsolete.h: Add for obsolete functions until they can be removed from the library. Contains setenv functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13592 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/posix/ChangeLog | 7 +++++++ src/lib/krb5/posix/pos-obsolete.h | 11 +++++++++++ src/lib/krb5/posix/setenv.c | 1 + 3 files changed, 19 insertions(+) create mode 100644 src/lib/krb5/posix/pos-obsolete.h diff --git a/src/lib/krb5/posix/ChangeLog b/src/lib/krb5/posix/ChangeLog index 9a29f296e..b6d9c06f8 100644 --- a/src/lib/krb5/posix/ChangeLog +++ b/src/lib/krb5/posix/ChangeLog @@ -1,3 +1,10 @@ +2001-07-08 Ezra Peisach + + * setenv.c: Include pos-obsolete.h + + * pos-obsolete.h: Add for obsolete functions until they can be + removed from the library. Contains setenv functions. + 2000-06-30 Ezra Peisach * setenv.c: Do not provide prototype for static function unless diff --git a/src/lib/krb5/posix/pos-obsolete.h b/src/lib/krb5/posix/pos-obsolete.h new file mode 100644 index 000000000..acecd1cb6 --- /dev/null +++ b/src/lib/krb5/posix/pos-obsolete.h @@ -0,0 +1,11 @@ +/* + * These prototypes are for obsolete functions which we leave behind + * until removed from the library +*/ + +/* These were used up until 1.2 release */ +int krb5_setenv(const char *, const char *, int); +void krb5_unsetenv(const char *name); +char *krb5_getenv(const char *name); + + diff --git a/src/lib/krb5/posix/setenv.c b/src/lib/krb5/posix/setenv.c index 935e76451..7205e8b8d 100644 --- a/src/lib/krb5/posix/setenv.c +++ b/src/lib/krb5/posix/setenv.c @@ -41,6 +41,7 @@ #include #include #include +#include "pos-obsolete.h" #ifndef __P #define __P(x) () -- 2.26.2