summaryrefslogtreecommitdiffstats
path: root/tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools.h b/tools.h
index f357789..3454fc4 100644
--- a/tools.h
+++ b/tools.h
@@ -6,6 +6,8 @@
#include "pci.h"
+#define min2(a, b) (((a)<(b))?(a):(b))
+
int pcilib_isnumber(const char *str);
int pcilib_isxnumber(const char *str);