aboutsummaryrefslogtreecommitdiff
path: root/getcore.c
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-09-28 15:49:52 +1300
committerDavid <dbphillipsnz@gmail.com>2014-09-28 15:49:52 +1300
commit22428b4d31bfbad0462fe13719698232452f4149 (patch)
treed52cc14b3c5c7eb192c15b7ba85666bc2686dc86 /getcore.c
parent45f116b0562951775af0d6833229b22b49bc0397 (diff)
downloadparamano-22428b4d31bfbad0462fe13719698232452f4149.tar.xz
Code tidy
Diffstat (limited to 'getcore.c')
-rw-r--r--getcore.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/getcore.c b/getcore.c
index 9b21e76..9fb9600 100644
--- a/getcore.c
+++ b/getcore.c
@@ -16,14 +16,7 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#include "getcore.h"
-
-#include "common.h"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <glib.h>
-#include <unistd.h>
+#include "paramano.h"
unsigned int cores;
@@ -59,7 +52,7 @@ void gc_init()
/***********************************************************************
* Return number of cores
**********************************************************************/
-int gc_number()
+unsigned int gc_number()
{
return cores;
}