diff options
Diffstat (limited to 'meta/recipes-devtools/nasm/nasm/0001-asmlib-Drop-pure-function-attribute-from-seg_init.patch')
-rw-r--r-- | meta/recipes-devtools/nasm/nasm/0001-asmlib-Drop-pure-function-attribute-from-seg_init.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-devtools/nasm/nasm/0001-asmlib-Drop-pure-function-attribute-from-seg_init.patch b/meta/recipes-devtools/nasm/nasm/0001-asmlib-Drop-pure-function-attribute-from-seg_init.patch deleted file mode 100644 index 12ae3a94df..0000000000 --- a/meta/recipes-devtools/nasm/nasm/0001-asmlib-Drop-pure-function-attribute-from-seg_init.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 77c3a77210d8ca8b94e999c711156e984a8dc737 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 31 Mar 2018 11:05:33 -0700 | ||
4 | Subject: [PATCH] asmlib: Drop pure function attribute from seg_init | ||
5 | |||
6 | seg_init returns void, so it is impure function | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | Upstream-Status: Submitted | ||
11 | |||
12 | include/nasmlib.h | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/include/nasmlib.h b/include/nasmlib.h | ||
16 | index 79e866b..b80b7e2 100644 | ||
17 | --- a/include/nasmlib.h | ||
18 | +++ b/include/nasmlib.h | ||
19 | @@ -191,7 +191,7 @@ int64_t readstrnum(char *str, int length, bool *warn); | ||
20 | * seg_init: Initialise the segment-number allocator. | ||
21 | * seg_alloc: allocate a hitherto unused segment number. | ||
22 | */ | ||
23 | -void pure_func seg_init(void); | ||
24 | +void seg_init(void); | ||
25 | int32_t pure_func seg_alloc(void); | ||
26 | |||
27 | /* | ||