summaryrefslogtreecommitdiff
path: root/src/sign.c
diff options
context:
space:
mode:
authorBradley Smith2008-03-10 00:55:01 +0000
committerBradley Smith2008-03-10 00:55:01 +0000
commit6a52075c557c3d64dfa9e6c05ab2b67e30b900f2 (patch)
tree1687403a7fd0529eb93b328203be10865b95d0a6 /src/sign.c
parentChange x11plugin GType style. (diff)
downloadgnurobots-6a52075c557c3d64dfa9e6c05ab2b67e30b900f2.tar.gz
Remove sign hack.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'src/sign.c')
-rw-r--r--src/sign.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/sign.c b/src/sign.c
deleted file mode 100644
index 9b1743e..0000000
--- a/src/sign.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* TODO: Either this needs to go, or it needs a copyright header */
-
-#include <stdio.h>
-#include <glib.h>
-
-/* is there a standard C function to do this? */
-
-gint
-sign (gint n)
-{
- if (n < 0) {
- return (-1);
- } else if (n > 0) {
- return (+1);
- }
-
- return (0);
-}