summaryrefslogtreecommitdiffstats
path: root/examples/rotate.c
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-03-17 13:32:08 +0100
committerChristian Beier <dontmind@freeshell.org>2011-03-17 13:32:08 +0100
commit56234cd0b656de3c8827288f2adf78c9cb12d0c5 (patch)
tree0b01c1373a38f8ace1f22ba039e25e7de7e66479 /examples/rotate.c
parentbf2470cec69ab00f7213aa136f5a2d486c9da17a (diff)
downloadlibtdevnc-56234cd0b656de3c8827288f2adf78c9cb12d0c5.tar.gz
libtdevnc-56234cd0b656de3c8827288f2adf78c9cb12d0c5.zip
Fix remaining compiler warnings.
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