We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
weak
1 parent 613e154 commit 6575e7dCopy full SHA for 6575e7d
libc-bottom-half/sources/__wasilibc_initialize_environ.c
@@ -11,7 +11,7 @@
11
/// Statically-initialize it to an invalid pointer value so that we can
12
/// detect if it's been explicitly initialized (we can't use `NULL` because
13
/// `clearenv` sets it to NULL.
14
-char **__wasilibc_environ weak = (char **)-1;
+weak char **__wasilibc_environ = (char **)-1;
15
16
// See the comments in libc-environ.h.
17
void __wasilibc_ensure_environ(void) {
@@ -87,8 +87,7 @@ void __wasilibc_deinitialize_environ(void) {
87
}
88
89
90
-weak
91
-void __wasilibc_maybe_reinitialize_environ_eagerly(void) {
+weak void __wasilibc_maybe_reinitialize_environ_eagerly(void) {
92
// This version does nothing. It may be overridden by a version which does
93
// something if `environ` is used.
94
0 commit comments