diff options
author | Bradley Smith | 2008-03-10 00:55:01 +0000 |
---|---|---|
committer | Bradley Smith | 2008-03-10 00:55:01 +0000 |
commit | 6a52075c557c3d64dfa9e6c05ab2b67e30b900f2 (patch) | |
tree | 1687403a7fd0529eb93b328203be10865b95d0a6 /src/sign.c | |
parent | Change x11plugin GType style. (diff) | |
download | gnurobots-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.c | 18 |
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); -} |