aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-09-03 17:56:28 -0500
committerRob Landley <rob@landley.net>2013-09-03 17:56:28 -0500
commit8fdcfdb4479dff7a993a25a63253f0e749fd99fe (patch)
tree99c94cfa5e698ff01b2dcdbb9a45d1f9a0abec21 /main.c
parentf538f420deffc242742ce2d0661a39fa9a3b5399 (diff)
downloadtoybox-8fdcfdb4479dff7a993a25a63253f0e749fd99fe.tar.gz
Introduce libbuf analogous to toybuf but for use by lib/*.c. Change readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index dd985b84..53f670d2 100644
--- a/main.c
+++ b/main.c
@@ -20,7 +20,7 @@ struct toy_list toy_list[] = {
struct toy_context toys;
union global_union this;
-char toybuf[4096];
+char toybuf[4096], libbuf[4096];
struct toy_list *toy_find(char *name)
{