a6c5027becf9c0f3ad6dc9435032bf556ad51605
[librecmc/librecmc.git] / toolchain / nasm / patches / 100-backport-upstream-GCC8-compatibility-fixes.patch
1 --- a/include/nasmlib.h
2 +++ b/include/nasmlib.h
3 @@ -188,11 +188,9 @@ int64_t readnum(char *str, bool *error);
4  int64_t readstrnum(char *str, int length, bool *warn);
5  
6  /*
7 - * seg_init: Initialise the segment-number allocator.
8   * seg_alloc: allocate a hitherto unused segment number.
9   */
10 -void pure_func seg_init(void);
11 -int32_t pure_func seg_alloc(void);
12 +int32_t seg_alloc(void);
13  
14  /*
15   * many output formats will be able to make use of this: a standard