mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 08:16:00 +01:00
Move MIN and MAX
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
108533804b
commit
4f6bd04f23
2 changed files with 8 additions and 8 deletions
|
@ -8,4 +8,12 @@
|
|||
#define UNUSED(x) GIRARA_UNUSED(x)
|
||||
#define DEPRECATED(x) GIRARA_DEPRECATED(x)
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) (((a)<(b))?(a):(b))
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,14 +20,6 @@
|
|||
#include "adjustment.h"
|
||||
#include <math.h>
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) (((a)<(b))?(a):(b))
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
#endif
|
||||
|
||||
/* Helper function; see sc_display_link and sc_follow. */
|
||||
static bool
|
||||
draw_links(zathura_t* zathura)
|
||||
|
|
Loading…
Reference in a new issue