Rename Header
This commit is contained in:
parent
3b5149abff
commit
0977f557b8
@ -16,7 +16,7 @@ static argp_option options_data[] = {
|
||||
#undef OPTION
|
||||
{nullptr, 0, nullptr, 0, "Environmental Variables:", 0},
|
||||
#define ENV(name, doc) {#name, env_key--, nullptr, OPTION_DOC | OPTION_NO_USAGE | (is_env_var_internal(name##_ENV) ? OPTION_HIDDEN : 0), doc, 0},
|
||||
#include <libreborn/env_list.h>
|
||||
#include <libreborn/env-list.h>
|
||||
#undef ENV
|
||||
{nullptr, 0, nullptr, 0, "Help Options:", -1},
|
||||
{nullptr, 0, nullptr, 0, nullptr, 0}
|
||||
|
@ -5,7 +5,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define ENV(name, ...) extern const char *name##_ENV;
|
||||
#include "env_list.h"
|
||||
#include "env-list.h"
|
||||
#undef ENV
|
||||
|
||||
int is_env_var_internal(const char *env);
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
// Define Constants
|
||||
#define ENV(name, ...) const char *name##_ENV = #name;
|
||||
#include <libreborn/env_list.h>
|
||||
#include <libreborn/env-list.h>
|
||||
#undef ENV
|
||||
|
||||
// Clear Internal Variables
|
||||
@ -15,6 +15,6 @@ void clear_internal_env_vars() {
|
||||
if (is_env_var_internal(name##_ENV)) { \
|
||||
set_and_print_env(name##_ENV, NULL); \
|
||||
}
|
||||
#include <libreborn/env_list.h>
|
||||
#include <libreborn/env-list.h>
|
||||
#undef ENV
|
||||
}
|
Loading…
Reference in New Issue
Block a user