]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/env/clearenv.c
5 static void dummy(char *old
, char *new) {}
6 weak_alias(dummy
, __env_rm_add
);
10 #ifdef __wasilibc_unmodified_upstream // Lazy environment variable init.
12 // This specialized header is included within the function body to arranges for
13 // the environment variables to be lazily initialized. It redefined `__environ`,
14 // so don't remove or reorder it with respect to other code.
15 #include "wasi/libc-environ-compat.h"
19 if (e
) while (*e
) __env_rm_add(*e
++, 0);