diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-07-10 16:15:32 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-07-10 16:15:32 +0400 |
commit | e3d9d8dfdc6b78646112f8215ef9b91aba574f5f (patch) | |
tree | da074c8930eb667f2c3dd193e77cc2536cd6d77a /winsup/cygwin/environ.cc | |
parent | 2d66e62c3989d540e062e6c059b9f307fca698bb (diff) |
* cygwin.sc.in (.text.*): Fold into .text on all platforms.
(.eh_frame): Add section.
* environ.cc (my_findenv): Drop __stdcall attribute.
(getearly): Ditto.
(findenv_func): Drop cast.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 5e522b91f..71d15b63d 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -470,7 +470,7 @@ posify_maybe (char **here, const char *value, char *outenv) environment array, for use by setenv(3) and unsetenv(3). Explicitly removes '=' in argument name. */ -static char * __stdcall +static char * my_findenv (const char *name, int *offset) { register int len; @@ -498,7 +498,7 @@ my_findenv (const char *name, int *offset) /* Primitive getenv before the environment is built. */ -static char __stdcall * +static char * getearly (const char * name, int *) { char *ret; @@ -520,7 +520,7 @@ getearly (const char * name, int *) return NULL; } -static char * (*findenv_func)(const char *, int *) = (char * (*)(const char *, int *)) getearly; +static char * (*findenv_func)(const char *, int *) = getearly; /* Returns ptr to value associated with name, if any, else NULL. */ |