Browse Source

fix: warning of `execvpe`

dev
Dnomd343 2 years ago
parent
commit
778f60c193
  1. 2
      include/constant.h
  2. 4
      src/utils/process.c

2
include/constant.h

@ -12,7 +12,7 @@
#define DIVERTER_TIMEOUT 6 #define DIVERTER_TIMEOUT 6
#define VERSION "1.3.0-beta2" #define VERSION "1.3.0-rc1"
#define CONFIG_FILE "cleardns.yml" #define CONFIG_FILE "cleardns.yml"
#define ADGUARD_USER "admin" #define ADGUARD_USER "admin"

4
src/utils/process.c

@ -1,3 +1,7 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE // NOLINT
#endif
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/wait.h> #include <sys/wait.h>

Loading…
Cancel
Save