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 '')
-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);
 
ency/2024-08-29/lens?id=1134af7da7776a0631995094a9225ce3541a9518&follow=1'>Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe