summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-08-27 12:01:20 (GMT)
committer Simon <simon@hardwired.org.uk>2010-08-27 12:01:20 (GMT)
commit07ade7ed72face5ece3408e953198b5ebcf1170c (patch)
treef735724507f4aed5574bda71900c27d3f53437f6 /misc.h
parent0d25cae647b2d0827c366165257c5e812a8d8ddb (diff)
downloadpowder-07ade7ed72face5ece3408e953198b5ebcf1170c.zip
powder-07ade7ed72face5ece3408e953198b5ebcf1170c.tar.gz
More work
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc.h b/misc.h
index a42396d..556cc97 100644
--- a/misc.h
+++ b/misc.h
@@ -3,9 +3,9 @@
//Signum function
#ifdef WIN32
-extern _inline int sign(float i);
+extern _inline int isign(float i);
#else
-extern inline int sign(float i);
+extern inline int isign(float i);
#endif
#ifdef WIN32
@@ -20,4 +20,6 @@ extern _inline float restrict_flt(float f, float min, float max);
extern inline float restrict_flt(float f, float min, float max);
#endif
+char *mystrdup(char *s);
+
#endif \ No newline at end of file