diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-12-21 11:02:14 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-12-21 11:02:14 -0200 |
commit | c0836dda740f735c3f6a01b0090870b6c806d479 (patch) | |
tree | cb5d61b81d20123d38ff83252a8fb3b64de1957d /lgc.h | |
parent | 384d1b47b0542cfb5df38eaac18a2f87726a3ef3 (diff) | |
download | lua-c0836dda740f735c3f6a01b0090870b6c806d479.tar.gz lua-c0836dda740f735c3f6a01b0090870b6c806d479.tar.bz2 lua-c0836dda740f735c3f6a01b0090870b6c806d479.zip |
avoid empty macro arguments (invalid in C89)
Diffstat (limited to 'lgc.h')
-rw-r--r-- | lgc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.h,v 2.89 2015/10/20 18:00:19 roberto Exp roberto $ | 2 | ** $Id: lgc.h,v 2.90 2015/10/21 18:15:15 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -112,7 +112,7 @@ | |||
112 | condchangemem(L,pre,pos); } | 112 | condchangemem(L,pre,pos); } |
113 | 113 | ||
114 | /* more often than not, 'pre'/'pos' are empty */ | 114 | /* more often than not, 'pre'/'pos' are empty */ |
115 | #define luaC_checkGC(L) luaC_condGC(L,,) | 115 | #define luaC_checkGC(L) luaC_condGC(L,(void)0,(void)0) |
116 | 116 | ||
117 | 117 | ||
118 | #define luaC_barrier(L,p,v) ( \ | 118 | #define luaC_barrier(L,p,v) ( \ |