summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-01-06 14:55:30 -0800
committerJeremy Allison <jra@samba.org>2012-01-06 14:55:30 -0800
commitd6950d4ec9615b8c177da1ca28c5eefb7bca490d (patch)
treec4232b43f6bcd8af7d02b89ad0411dfd15439da9 /source3
parent12bef8460791903b5f3a195973d0d5e8de895608 (diff)
downloadsamba-d6950d4ec9615b8c177da1ca28c5eefb7bca490d.tar.gz
samba-d6950d4ec9615b8c177da1ca28c5eefb7bca490d.tar.bz2
samba-d6950d4ec9615b8c177da1ca28c5eefb7bca490d.zip
Comment out sys_get_number_of_cores() as we're no longer using this.
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)