mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
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 <msimacek@redhat.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
5eb1838b4d
commit
9f45a77f46
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user