Commit 978b283d authored by Niels Möller's avatar Niels Möller
Browse files

Made do_collect_1 non-static.

Rev: src/command.c:1.13
Rev: src/command.h:1.13
parent 48be8203
......@@ -93,7 +93,7 @@ do_command_simple_unimplemented(struct command_simple *s UNUSED,
struct command_simple command_unimplemented =
{ { STATIC_HEADER, do_command_unimplemented}, do_command_simple_unimplemented};
static struct lsh_object *
struct lsh_object *
do_collect_1(struct command_simple *s, struct lsh_object *a)
{
CAST(collect_info_1, self, s);
......
......@@ -74,6 +74,9 @@ int do_call_simple_command(struct command *s,
#define STATIC_COMMAND_SIMPLE(f) \
{ { STATIC_HEADER, do_call_simple_command }, f}
struct lsh_object *
do_collect_1(struct command_simple *s, struct lsh_object *a);
#define STATIC_COLLECT_1(next) \
{ { { STATIC_HEADER, do_call_simple_command }, do_collect_1}, \
make_collect_state_1, next }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment