summaryrefslogtreecommitdiffstats
path: root/libdimension/platform.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-30 15:59:43 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-30 15:59:43 -0500
commit4f40f29ade4a6b2c0b27ba902281718662cdde82 (patch)
treee09ba47066e6509575e636f2e694c6d5deaa5904 /libdimension/platform.c
parentd5c774477b1d1cbbcc6a7daf00679bcb57193533 (diff)
downloaddimension-4f40f29ade4a6b2c0b27ba902281718662cdde82.tar.xz
Make some empty parameter lists explicit.
Diffstat (limited to 'libdimension/platform.c')
-rw-r--r--libdimension/platform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/platform.c b/libdimension/platform.c
index 9ae579a..e8f090d 100644
--- a/libdimension/platform.c
+++ b/libdimension/platform.c
@@ -53,7 +53,7 @@ dmnsn_backtrace(FILE *file)
}
bool
-dmnsn_is_main_thread()
+dmnsn_is_main_thread(void)
{
#if DMNSN_GETTID
return getpid() == syscall(SYS_gettid);
@@ -63,7 +63,7 @@ dmnsn_is_main_thread()
}
bool
-dmnsn_is_little_endian()
+dmnsn_is_little_endian(void)
{
/* Undefined behaviour, but quite portable */
union {
@@ -74,7 +74,7 @@ dmnsn_is_little_endian()
}
size_t
-dmnsn_ncpus()
+dmnsn_ncpus(void)
{
#if DMNSN_SCHED_GETAFFINITY
cpu_set_t cpuset;