mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 18:36:00 +01:00
use GIRARA_UNUSED
This commit is contained in:
parent
31563e6fa6
commit
56efd1550e
1 changed files with 2 additions and 8 deletions
10
zathura.h
10
zathura.h
|
@ -5,16 +5,10 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include <girara/types.h>
|
||||
#include <girara/macros.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef UNUSED
|
||||
#elif defined(__GNUC__)
|
||||
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
|
||||
#elif defined(__LCINT__)
|
||||
# define UNUSED(x) /*@unused@*/ x
|
||||
#else
|
||||
# define UNUSED(x) x
|
||||
#endif
|
||||
#define UNUSED(x) GIRARA_UNUSED(x)
|
||||
|
||||
enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT,
|
||||
DELETE_LAST_WORD, DELETE_LAST_CHAR, DEFAULT, ERROR, WARNING, NEXT_GROUP,
|
||||
|
|
Loading…
Reference in a new issue