summaryrefslogtreecommitdiffstats
path: root/examples/rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rotate.c')
-rw-r--r--examples/rotate.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/rotate.c b/examples/rotate.c
index 66fca80..e552e4a 100644
--- a/examples/rotate.c
+++ b/examples/rotate.c
@@ -2,13 +2,6 @@
#include <rfb/rfb.h>
#include <rfb/keysym.h>
-static int gcd(int x, int y)
-{
- if (x == 0)
- return y;
- return gcd((y % x), x);
-}
-
#define CONCAT2(a,b) a##b
#define CONCAT2E(a,b) CONCAT2(a,b)
#define CONCAT3(a,b,c) a##b##c