mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Remove unused macros
Most just left behind after actual code was moved into different files.
This commit is contained in:
parent
715836cb0a
commit
22811ebcf6
5 changed files with 0 additions and 19 deletions
|
@ -33,9 +33,6 @@
|
|||
#include "reader.h"
|
||||
#include "wutil.h" // IWYU pragma: keep
|
||||
|
||||
#define DEFAULT_TERM1 "ansi"
|
||||
#define DEFAULT_TERM2 "dumb"
|
||||
|
||||
/// Some configuration path environment variables.
|
||||
#define FISH_DATADIR_VAR L"__fish_data_dir"
|
||||
#define FISH_SYSCONFDIR_VAR L"__fish_sysconf_dir"
|
||||
|
|
|
@ -54,14 +54,6 @@
|
|||
#define DEFAULT_TERM1 "ansi"
|
||||
#define DEFAULT_TERM2 "dumb"
|
||||
|
||||
/// Some configuration path environment variables.
|
||||
#define FISH_DATADIR_VAR L"__fish_data_dir"
|
||||
#define FISH_SYSCONFDIR_VAR L"__fish_sysconf_dir"
|
||||
#define FISH_HELPDIR_VAR L"__fish_help_dir"
|
||||
#define FISH_BIN_DIR L"__fish_bin_dir"
|
||||
#define FISH_CONFIG_DIR L"__fish_config_dir"
|
||||
#define FISH_USER_DATA_DIR L"__fish_user_data_dir"
|
||||
|
||||
/// List of all locale environment variable names that might trigger (re)initializing the locale
|
||||
/// subsystem.
|
||||
static const wcstring_list_t locale_variables({L"LANG", L"LANGUAGE", L"LC_ALL", L"LC_ADDRESS",
|
||||
|
|
|
@ -49,9 +49,6 @@
|
|||
/// File descriptor redirection error message.
|
||||
#define FD_ERROR _(L"An error occurred while redirecting file descriptor %d")
|
||||
|
||||
/// File descriptor redirection error message.
|
||||
#define WRITE_ERROR _(L"An error occurred while writing output")
|
||||
|
||||
/// File redirection error message.
|
||||
#define FILE_ERROR _(L"An error occurred while redirecting file '%ls'")
|
||||
|
||||
|
|
|
@ -32,8 +32,6 @@
|
|||
#include "signal.h" // IWYU pragma: keep
|
||||
#include "wutil.h" // IWYU pragma: keep
|
||||
|
||||
#define MAX_INPUT_FUNCTION_ARGS 20
|
||||
|
||||
/// A name for our own key mapping for nul.
|
||||
static const wchar_t *k_nul_mapping_name = L"nul";
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
|
||||
#include <fcntl.h>
|
||||
|
||||
/// File descriptor redirection error message.
|
||||
#define FD_ERROR "An error occurred while redirecting file descriptor %s"
|
||||
|
||||
#define NOCLOB_ERROR _(L"The file '%ls' already exists")
|
||||
|
||||
#define FILE_ERROR _(L"An error occurred while redirecting file '%ls'")
|
||||
|
|
Loading…
Reference in a new issue