mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:13:48 +01:00
use GIRARA_UNUSED
This commit is contained in:
parent
31563e6fa6
commit
56efd1550e
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 New Issue
Block a user