From aac739ccd2a04105bad4c189b36ed7c5190775df Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 12 Sep 2008 11:18:17 +0000 Subject: ANSI C compatibility adjustment --- lib/getenv.c | 2 +- lib/netrc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/getenv.c b/lib/getenv.c index 6bd0e07ba..21cc42f34 100644 --- a/lib/getenv.c +++ b/lib/getenv.c @@ -53,7 +53,7 @@ char *GetEnv(const char *variable) char *env = getenv(variable); #ifdef VMS if(env && strcmp("HOME",variable) == 0) - env = decc$translate_vms(env); + env = decc_translate_vms(env); #endif return (env && env[0])?strdup(env):NULL; #endif diff --git a/lib/netrc.c b/lib/netrc.c index ac6b5402b..d7c7fd108 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -117,7 +117,7 @@ int Curl_parsenetrc(const char *host, pw= getpwuid(geteuid()); if(pw) { #ifdef VMS - home = decc$translate_vms(pw->pw_dir); + home = decc_translate_vms(pw->pw_dir); #else home = pw->pw_dir; #endif -- cgit v1.2.3