diff options
author | Mike Pall <mike> | 2020-07-02 01:24:39 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2020-07-02 01:24:39 +0200 |
commit | 384d6d56f4a3841fdef607a511dda92a579af2ff (patch) | |
tree | a95ad69b90ca9598141140de91850bf1d9677c1d /src/lj_strfmt.h | |
parent | 18eef08fb8df11dd887b1e7e3e6f7919c6f56720 (diff) | |
download | luajit-384d6d56f4a3841fdef607a511dda92a579af2ff.tar.gz luajit-384d6d56f4a3841fdef607a511dda92a579af2ff.tar.bz2 luajit-384d6d56f4a3841fdef607a511dda92a579af2ff.zip |
Fix Clang build.
Diffstat (limited to 'src/lj_strfmt.h')
-rw-r--r-- | src/lj_strfmt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_strfmt.h b/src/lj_strfmt.h index b4fbbb94..9fe46d67 100644 --- a/src/lj_strfmt.h +++ b/src/lj_strfmt.h | |||
@@ -118,7 +118,7 @@ LJ_FUNC GCstr * LJ_FASTCALL lj_strfmt_obj(lua_State *L, cTValue *o); | |||
118 | LJ_FUNC const char *lj_strfmt_pushvf(lua_State *L, const char *fmt, | 118 | LJ_FUNC const char *lj_strfmt_pushvf(lua_State *L, const char *fmt, |
119 | va_list argp); | 119 | va_list argp); |
120 | LJ_FUNC const char *lj_strfmt_pushf(lua_State *L, const char *fmt, ...) | 120 | LJ_FUNC const char *lj_strfmt_pushf(lua_State *L, const char *fmt, ...) |
121 | #ifdef __GNUC__ | 121 | #if defined(__GNUC__) || defined(__clang__) |
122 | __attribute__ ((format (printf, 2, 3))) | 122 | __attribute__ ((format (printf, 2, 3))) |
123 | #endif | 123 | #endif |
124 | ; | 124 | ; |