summary refs log tree commit diff
path: root/src/bltin
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-10-29 21:43:45 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2005-10-29 21:43:45 +1000
commit156deb8fa7c56e4809d6bc0b4f1075742cdde5e4 (patch)
treeae526c0b6759beafd74240b623395e2c0e028051 /src/bltin
parent[BUILTIN] Removed standalone/csh support from test (diff)
downloaddash-156deb8fa7c56e4809d6bc0b4f1075742cdde5e4.tar.gz
dash-156deb8fa7c56e4809d6bc0b4f1075742cdde5e4.zip
[SYSTEM] Added dummy sysconf implementation
Add a dummy sysconf implementation that always fails for klibc.
Diffstat (limited to 'src/bltin')
-rw-r--r--src/bltin/times.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bltin/times.c b/src/bltin/times.c
index aca579f..8eabc1f 100644
--- a/src/bltin/times.c
+++ b/src/bltin/times.c
@@ -10,10 +10,9 @@
 #else
 #include "bltin.h"
 #endif
+#include "system.h"
 
-#define main timescmd
-
-int main() {
+int timescmd() {
 	struct tms buf;
 	long int clk_tck = sysconf(_SC_CLK_TCK);