Added include guards to header files
parent
195d6c4b4b
commit
26427fa257
@ -1,5 +1,8 @@
|
|||||||
|
#ifndef _MATH_HELP
|
||||||
|
#define _MATH_HELP
|
||||||
int signum(int num) {
|
int signum(int num) {
|
||||||
int retval = 0;
|
int retval = 0;
|
||||||
(num > 0) ? retval = 1 : retval = -1;
|
(num > 0) ? retval = 1 : retval = -1;
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue