consistent ATTRNORETURN prefix and NORETURN suffix
This commit is contained in:
@@ -319,7 +319,7 @@ hacklib.olb: $(HACKLIBOBJLIST)
|
||||
$(INCL)nhlua.h:
|
||||
echo "/* nhlua.h - generated by Makefile.vms */" > $@
|
||||
@echo \#"include ""$(LUASRCINCDIR)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 ""$(LUASRCINCDIR)lualib.h""" >> $@
|
||||
@echo \#"include ""$(LUASRCINCDIR)lauxlib.h""" >> $@
|
||||
@echo "/*nhlua.h*/" >> $@
|
||||
@@ -327,7 +327,7 @@ $(INCL)nhlua.h:
|
||||
#$(INCL)nhlua.h:
|
||||
# echo "/* nhlua.h - generated by -vms9 */" > $@
|
||||
# @echo \#"include ""sys$$common:[lua.include]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 ""sys$$common:[lua.include]lualib.h""" >> $@
|
||||
# @echo \#"include ""sys$$common:[lua.include]lauxlib.h""" >> $@
|
||||
# @echo "/*nhlua.h*/" >> $@
|
||||
|
||||
@@ -314,7 +314,7 @@ dofiles-nodlb:
|
||||
$(INCL)nhlua.h:
|
||||
echo "/* nhlua.h - generated by top-level Makefile.vms */" > $@
|
||||
@echo \#"include ""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 ""lualib.h""" >> $@
|
||||
@echo \#"include ""lauxlib.h""" >> $@
|
||||
@echo "/*nhlua.h*/" >> $@
|
||||
|
||||
@@ -377,7 +377,7 @@ $ set file/att=(RFM:STM) [-.include]nhlua.h
|
||||
$ open/Append f [-.include]nhlua.h
|
||||
$ write f "/* nhlua.h - generated by vmsbuild.com */"
|
||||
$ write f "#include ""[-.lib.lua''luaver'.src]lua.h"""
|
||||
$ write f "LUA_API int (lua_error) (lua_State *L) NORETURN;"
|
||||
$ write f "ATTRNORETURN LUA_API int (lua_error) (lua_State *L) NORETURN;"
|
||||
$ write f "#include ""[-.lib.lua''luaver'.src]lualib.h"""
|
||||
$ write f "#include ""[-.lib.lua''luaver'.src]lauxlib.h"""
|
||||
$ write f "/*nhlua.h*/"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
int debuggable = 0; /* 1 if we can debug or show a call trace */
|
||||
|
||||
ATTRNORETURN void vms_exit(int);
|
||||
ATTRNORETURN void vms_abort(void);
|
||||
ATTRNORETURN void vms_exit(int) NORETURN;
|
||||
ATTRNORETURN void vms_abort(void) NORETURN;
|
||||
|
||||
/* first arg should be unsigned long but <lib$routines.h> has unsigned int */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user