fix inconsistent visibility for __hwcap and __sysinfo symbols
[oweals/musl.git] / src / env / clearenv.c
1 #define _GNU_SOURCE
2 #include <stdlib.h>
3
4 extern char **__environ;
5
6 int clearenv()
7 {
8         __environ[0] = 0;
9         return 0;
10 }