diff --git a/.gitignore b/.gitignore index 7ab7825f..789607c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ linenoise_example *.dSYM history.txt + +tags diff --git a/linenoise.c b/linenoise.c index cfe51e76..e3155c21 100644 --- a/linenoise.c +++ b/linenoise.c @@ -193,7 +193,7 @@ FILE *lndebug_fp = NULL; fflush(lndebug_fp); \ } while (0) #else -#define lndebug(fmt, ...) +#define lndebug(...) #endif /* ======================= Low level terminal handling ====================== */