aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-12 11:18:17 +0000
committerYang Tse <yangsita@gmail.com>2008-09-12 11:18:17 +0000
commitaac739ccd2a04105bad4c189b36ed7c5190775df (patch)
tree24193c9b065288597fe09d7921c3ec8fc8abccf9 /lib
parentc3d1b07c455928de7497677b2da7ffa470a62fee (diff)
ANSI C compatibility adjustment
Diffstat (limited to 'lib')
-rw-r--r--lib/getenv.c2
-rw-r--r--lib/netrc.c2
2 files changed, 2 insertions, 2 deletions
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