diff --git a/include/nasmlib.h b/include/nasmlib.h index c93cef0..79e866b 100644 --- a/include/nasmlib.h +++ b/include/nasmlib.h @@ -191,8 +191,8 @@ int64_t readstrnum(char *str, int length, bool *warn); * seg_init: Initialise the segment-number allocator. * seg_alloc: allocate a hitherto unused segment number. */ -void seg_init(void); -int32_t seg_alloc(void); +void pure_func seg_init(void); +int32_t pure_func seg_alloc(void); /* * many output formats will be able to make use of this: a standard