From: nasm-bot f. C. G. <gor...@gm...> - 2018-02-09 21:42:30
|
Commit-ID: 9f45a77f46829e666b35530939b9237cf978d4dc Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=9f45a77f46829e666b35530939b9237cf978d4dc Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 10 Feb 2018 00:40:46 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sat, 10 Feb 2018 00:40:46 +0300 nasmlib: Drop pure_func attrib from seg_alloc It not only reads static variable but writes it back as well. https://bugzilla.nasm.us/show_bug.cgi?id=3392461 Reported-by: Michael Šimáček <msi...@re...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- include/nasmlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nasmlib.h b/include/nasmlib.h index fee1b5e..69b81b7 100644 --- a/include/nasmlib.h +++ b/include/nasmlib.h @@ -190,7 +190,7 @@ int64_t readstrnum(char *str, int length, bool *warn); /* * seg_alloc: allocate a hitherto unused segment number. */ -int32_t pure_func seg_alloc(void); +int32_t seg_alloc(void); /* * many output formats will be able to make use of this: a standard |