openbsd-ports/net/osrtspproxy/patches/patch-libapp_Avl_h
2010-05-24 01:46:12 +00:00

21 lines
565 B
Plaintext

$OpenBSD: patch-libapp_Avl_h,v 1.2 2010/05/24 01:46:12 espie Exp $
--- libapp/Avl.h.orig Tue Jan 30 22:24:19 2001
+++ libapp/Avl.h Sat May 22 16:25:25 2010
@@ -141,16 +141,6 @@ class AvlTree (private)
// ---------------------------------------------------------------- Definitions
-inline static int
-MIN(int a, int b) {
- return (a < b) ? a : b;
-}
-
-inline static int
-MAX(int a, int b) {
- return (a > b) ? a : b;
-}
-
// Use mnemonic constants for valid balance-factor values
enum balance_t { LEFT_HEAVY = -1, BALANCED = 0, RIGHT_HEAVY = 1 };