diff options
| author | Mark Wielaard <[email protected]> | 2015-09-22 22:27:01 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-09-23 15:50:55 +0200 |
| commit | 1ccdfb683ad6c7e59793136c3a657ddf131cafd1 (patch) | |
| tree | d5d24ce4ca0beec37e1ee2fe1f8a36af0e218e28 /libasm/asm_getelf.c | |
| parent | e260d79d73be07aee2860c5a5baf4f12c230ad6b (diff) | |
Remove old-style function definitions.
We already require -std=gnu99 and old-style function definitions might
hide some compiler warnings.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libasm/asm_getelf.c')
| -rw-r--r-- | libasm/asm_getelf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libasm/asm_getelf.c b/libasm/asm_getelf.c index edeff13f..2a5c37bb 100644 --- a/libasm/asm_getelf.c +++ b/libasm/asm_getelf.c @@ -37,8 +37,7 @@ Elf * -asm_getelf (ctx) - AsmCtx_t *ctx; +asm_getelf (AsmCtx_t *ctx) { return ctx != NULL ? ctx->out.elf : NULL; } |
