summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/lib/system.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9dcd334404..2bccaa6406 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -390,7 +390,9 @@ int sys_lsetxattr (const char *path, const char *name, const void *value, size_t
int sys_fsetxattr (int filedes, const char *name, const void *value, size_t size, int flags);
uint32 unix_dev_major(SMB_DEV_T dev);
uint32 unix_dev_minor(SMB_DEV_T dev);
+#if 0
int sys_get_number_of_cores(void);
+#endif
int sys_aio_read(SMB_STRUCT_AIOCB *aiocb);
int sys_aio_write(SMB_STRUCT_AIOCB *aiocb);
ssize_t sys_aio_return(SMB_STRUCT_AIOCB *aiocb);
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 6934f62710..821dd8d957 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -2480,6 +2480,7 @@ uint32 unix_dev_minor(SMB_DEV_T dev)
#endif
}
+#if 0
/*******************************************************************
Return the number of CPUs.
********************************************************************/
@@ -2524,6 +2525,7 @@ int sys_get_number_of_cores(void)
}
return ret;
}
+#endif
#if defined(WITH_AIO)