diff options
Diffstat (limited to 'libebl')
| -rw-r--r-- | libebl/ChangeLog | 4 | ||||
| -rw-r--r-- | libebl/libebl.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog index 719d08d0..506915ba 100644 --- a/libebl/ChangeLog +++ b/libebl/ChangeLog @@ -1,3 +1,7 @@ +2017-04-20 Ulf Hermann <[email protected]> + + * libebl.h: Use __pure_attribute__. + 2017-02-15 Ulf Hermann <[email protected]> * eblmachineflagname.c: Include system.h. diff --git a/libebl/libebl.h b/libebl/libebl.h index c8e01fe9..87896e4a 100644 --- a/libebl/libebl.h +++ b/libebl/libebl.h @@ -73,13 +73,13 @@ extern void ebl_closebackend (Ebl *bh); /* Information about the descriptor. */ /* Get ELF machine. */ -extern int ebl_get_elfmachine (Ebl *ebl) __attribute__ ((__pure__)); +extern int ebl_get_elfmachine (Ebl *ebl) __pure_attribute__; /* Get ELF class. */ -extern int ebl_get_elfclass (Ebl *ebl) __attribute__ ((__pure__)); +extern int ebl_get_elfclass (Ebl *ebl) __pure_attribute__; /* Get ELF data encoding. */ -extern int ebl_get_elfdata (Ebl *ebl) __attribute__ ((__pure__)); +extern int ebl_get_elfdata (Ebl *ebl) __pure_attribute__; /* Function to call the callback functions including default ELF |
