aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/typval.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-02-23 16:03:24 +0100
committerGitHub <noreply@github.com>2020-02-23 16:03:24 +0100
commitc036e24f39481f2b7872659c076b53435192003d (patch)
tree423c777bce97daa7f490950aaf48fb1a0efca979 /src/nvim/eval/typval.h
parent7591fafd764e9dbcdfe3b28f03fe3c84de893c9e (diff)
parent0504f2f88dac9a4cf1fe1052a1e00ab203e9cf8e (diff)
downloadrneovim-c036e24f39481f2b7872659c076b53435192003d.tar.gz
rneovim-c036e24f39481f2b7872659c076b53435192003d.tar.bz2
rneovim-c036e24f39481f2b7872659c076b53435192003d.zip
Merge pull request #11890 from cryptomilk/master-gcc10-fno-common
Fix issues revealed by gcc10 setting -fno-common by default
Diffstat (limited to 'src/nvim/eval/typval.h')
-rw-r--r--src/nvim/eval/typval.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/typval.h b/src/nvim/eval/typval.h
index 008453b87f..5afdedff75 100644
--- a/src/nvim/eval/typval.h
+++ b/src/nvim/eval/typval.h
@@ -33,7 +33,7 @@ typedef double float_T;
enum { DO_NOT_FREE_CNT = (INT_MAX / 2) };
/// Additional values for tv_list_alloc() len argument
-enum {
+enum ListLenSpecials {
/// List length is not known in advance
///
/// To be used when there is neither a way to know how many elements will be
@@ -49,7 +49,7 @@ enum {
///
/// To be used when it looks impractical to determine list length.
kListLenMayKnow = -3,
-} ListLenSpecials;
+};
/// Maximal possible value of varnumber_T variable
#define VARNUMBER_MAX INT64_MAX