From: Ezra Peisach Date: Mon, 9 Jul 2001 12:07:56 +0000 (+0000) Subject: * setenv.c: Include pos-obsolete.h X-Git-Tag: krb5-1.3-alpha1~1212 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e17fff67c0d98a46833ce16dd4b16766cc16a48;p=krb5.git * 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 --- 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) ()