nasm: fix build w/ gcc81

Fixes error: 'pure' attribute on function returning 'void'

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-05-22 11:30:51 +02:00
parent 700131f439
commit 193a17fe38
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- include/nasmlib.h 2017-11-29 20:44:08.000000000 +0100
+++ include/nasmlib.h 2018-05-22 11:26:47.909787252 +0200
@@ -191,7 +191,7 @@
* seg_init: Initialise the segment-number allocator.
* seg_alloc: allocate a hitherto unused segment number.
*/
-void pure_func seg_init(void);
+void seg_init(void);
int32_t pure_func seg_alloc(void);
/*