diff options
Diffstat (limited to 'saga/yslib.h')
-rw-r--r-- | saga/yslib.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/saga/yslib.h b/saga/yslib.h index b5bc464d2c..82d231606d 100644 --- a/saga/yslib.h +++ b/saga/yslib.h @@ -59,16 +59,6 @@ typedef int (YS_COMPARE_FUNC) (const void *, const void *); #define YS_FLEX_ARRAY #define YS_FLEX_ARRAY_MOD 0 -/* Minimum and maximum of two values */ -#define YS_MIN(a,b) (((a) < (b)) ? (a) : (b)) -#define YS_MAX(a,b) (((a) > (b)) ? (a) : (b)) - -/* Minimum and maximum of two objects, convert to lvalue */ -#define YS_LV_MIN(a,b) (*((a) < (b)) ? &(a) : &(b)) -#define YS_LV_MAX(a,b) (*((a) < (b)) ? &(a) : &(b)) - -#define YS_ABS(n) ((n < 0) ? -n : n) - /* ys_binread.c : Binary input functions (buffer oriented) \*------------------------------------------------------------------*/ @@ -163,10 +153,6 @@ void ys_write_s32_be(long, unsigned char *, unsigned char **); void ys_write_s32_le(long, unsigned char *, unsigned char **); -/* ys_file.c : File management functions -\*------------------------------------------------------------------*/ -int ys_get_filesize(FILE *, unsigned long *, int *); - /* Shared declarations for list modules \*------------------------------------------------------------------*/ enum YS_WALK_DIRECTIONS { |