summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-07-24 13:00:32 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-07-31 10:05:49 +1000
commit1ddaf0af41098d0a01eac162c6fe4d38f2fbbbad (patch)
tree1836f25b8342ea63b090711b9bbdb198ab39ccb5 /src
parent6f7c5c558006bb69fdf0af73103097c012ccfed5 (diff)
Fix compiler warning - implicit declaration of function 'abs'
match_four.c:80:4: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] *dist++ = abs(q->x - p->x) + abs(q->y - p->y); Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/match_four.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/match_four.c b/src/match_four.c
index c7d2cd3..df88afb 100644
--- a/src/match_four.c
+++ b/src/match_four.c
@@ -1,5 +1,6 @@
1#include "match.h" 1#include "match.h"
2#include <limits.h> 2#include <limits.h>
3#include <stdlib.h>
3 4
4typedef unsigned char u8; 5typedef unsigned char u8;
5typedef unsigned int u32; 6typedef unsigned int u32;