diff options
Diffstat (limited to '.local/bin/autobuild.c')
-rw-r--r-- | .local/bin/autobuild.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.local/bin/autobuild.c b/.local/bin/autobuild.c index c8a319d..96faa31 100644 --- a/.local/bin/autobuild.c +++ b/.local/bin/autobuild.c @@ -15,14 +15,14 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define _GNU_SOURCE /* for environment functions */ +#define _GNU_SOURCE /* for clearenv(3) */ #include <alloca.h> /* for alloca(3) */ -#include <errno.h> /* for errno */ -#include <error.h> /* for error(3) */ -#include <pwd.h> /* for getpwuid(3) */ -#include <stdlib.h> /* for environment functions */ +#include <errno.h> /* for errno */ +#include <error.h> /* for error(3) (GNU extension) */ +#include <pwd.h> /* for getpwuid(3) */ +#include <stdlib.h> /* for getenv(3), setenv(3), clearenv(3) */ #include <string.h> /* for strlen(3), strcpy(3) */ -#include <unistd.h> /* for geteuid(3), execv(3) */ +#include <unistd.h> /* for geteuid(3), setreuid(3), execv(3) */ void mysetenv(const char *name, const char *value) |