diff options
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); -} |