aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/environ.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/environ.h')
-rw-r--r--winsup/cygwin/environ.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/winsup/cygwin/environ.h b/winsup/cygwin/environ.h
index 269591a..fc34f1e 100644
--- a/winsup/cygwin/environ.h
+++ b/winsup/cygwin/environ.h
@@ -7,7 +7,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
/* Initialize the environment */
-void __reg2 environ_init (char **, int);
+void environ_init (char **, int);
/* The structure below is used to control conversion to/from posix-style
file specs. Currently, only PATH and HOME are converted, but PATH
@@ -22,7 +22,7 @@ struct win_env
ssize_t (*toposix) (const void *, void *, size_t);
ssize_t (*towin32) (const void *, void *, size_t);
bool immediate;
- void __reg3 add_cache (const char *in_posix, const char *in_native = NULL);
+ void add_cache (const char *in_posix, const char *in_native = NULL);
const char * get_native () const {return native ? native + namelen : NULL;}
const char * get_posix () const {return posix ? posix : NULL;}
struct win_env& operator = (struct win_env& x);
@@ -30,8 +30,8 @@ struct win_env
~win_env ();
};
-win_env * __reg3 getwinenv (const char *name, const char *posix = NULL, win_env * = NULL);
-char * __reg3 getwinenveq (const char *name, size_t len, int);
+win_env *getwinenv (const char *name, const char *posix = NULL, win_env * = NULL);
+char *getwinenveq (const char *name, size_t len, int);
#ifdef __x86_64__
#define update_envptrs()
@@ -42,9 +42,9 @@ void __stdcall update_envptrs ();
extern "C" char **__cygwin_environ, ***main_environ;
extern "C" char __stdcall **cur_environ ();
#endif
-char ** __reg3 build_env (const char * const *envp, PWCHAR &envblock,
+char **build_env (const char * const *envp, PWCHAR &envblock,
int &envc, bool need_envblock, HANDLE new_token);
-char ** __reg2 win32env_to_cygenv (PWCHAR rawenv, bool posify);
+char **win32env_to_cygenv (PWCHAR rawenv, bool posify);
#define ENV_CVT -1