consistent ATTRNORETURN prefix and NORETURN suffix

This commit is contained in:
nhmall
2025-05-30 22:01:20 -04:00
parent 50e5715ca5
commit 9ef5e886ee
10 changed files with 13 additions and 13 deletions

View File

@@ -435,7 +435,7 @@ NHLUAH = $(INCL)/nhlua.h
$(NHLUAH):
echo "/* nhlua.h - generated by GNUmakefile */" > $@
@echo "#include \"$(LUASRC)/lua.h\"" >> $@
@echo "LUA_API int (lua_error) (lua_State *L) NORETURN;" >>$@
@echo "ATTRNORETURN LUA_API int (lua_error) (lua_State *L) NORETURN;" >>$@
@echo "#include \"$(LUASRC)/lualib.h\"" >> $@
@echo "#include \"$(LUASRC)/lauxlib.h\"" >> $@
@echo "/*nhlua.h*/" >> $@