100-backport-upstream-GCC8-compatibility-fixes.patch 459 B

123456789101112131415
  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. - * seg_init: Initialise the segment-number allocator.
  7. * seg_alloc: allocate a hitherto unused segment number.
  8. */
  9. -void pure_func seg_init(void);
  10. -int32_t pure_func seg_alloc(void);
  11. +int32_t seg_alloc(void);
  12. /*
  13. * many output formats will be able to make use of this: a standard