summaryrefslogtreecommitdiff
path: root/src/thread-utils.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-09-19 03:34:49 +0300
committerVicent Marti <tanoku@gmail.com>2011-09-19 03:34:49 +0300
commit87d9869fc30951cec632e0d6a3d1dd47756d2886 (patch)
treead39ac1e487e2d5baa64d7fa979122541f6b8bcb /src/thread-utils.c
parentbb742ede3d54564ff900fb7246e7b1ff01482b2c (diff)
downloadlibgit2-87d9869fc30951cec632e0d6a3d1dd47756d2886.tar.gz
Tabify everything
There were quite a few places were spaces were being used instead of tabs. Try to catch them all. This should hopefully not break anything. Except for `git blame`. Oh well.
Diffstat (limited to 'src/thread-utils.c')
-rw-r--r--src/thread-utils.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/thread-utils.c b/src/thread-utils.c
index ff7a79586..f582f4311 100644
--- a/src/thread-utils.c
+++ b/src/thread-utils.c
@@ -8,10 +8,10 @@
#include "thread-utils.h"
#ifdef _WIN32
-# define WIN32_LEAN_AND_MEAN
-# include <windows.h>
+# define WIN32_LEAN_AND_MEAN
+# include <windows.h>
#elif defined(hpux) || defined(__hpux) || defined(_hpux)
-# include <sys/pstat.h>
+# include <sys/pstat.h>
#endif
/*
@@ -20,11 +20,11 @@
* with this disgusting nest of #ifdefs.
*/
#ifndef _SC_NPROCESSORS_ONLN
-# ifdef _SC_NPROC_ONLN
-# define _SC_NPROCESSORS_ONLN _SC_NPROC_ONLN
-# elif defined _SC_CRAY_NCPU
-# define _SC_NPROCESSORS_ONLN _SC_CRAY_NCPU
-# endif
+# ifdef _SC_NPROC_ONLN
+# define _SC_NPROCESSORS_ONLN _SC_NPROC_ONLN
+# elif defined _SC_CRAY_NCPU
+# define _SC_NPROCESSORS_ONLN _SC_CRAY_NCPU
+# endif
#endif
int git_online_cpus(void)