/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1995-2012 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* Glenn Fowler <[email protected]> *17* Doug McIlroy <[email protected]> *18* *19***********************************************************************/20#pragma prototyped2122#include <ast.h>23#include <shcmd.h>2425#undef CMDLIST26#if __STDC__27#define CMDLIST(f) extern int b_##f(int, char**, Shbltin_t*);28#else29#define CMDLIST(f) extern int b_##f();30#endif31#include "cmdtstlist.h"3233void34cmdtst_init(int flag, void* context)35{36if (!flag)37{38#undef CMDLIST39#define CMDLIST(f) sh_builtin(context, #f, b_##f, 0);40#include "cmdtstlist.h"41}42}4344void45lib_init(int flags, void* context)46{47cmdtst_init(flags, context);48}4950SHLIB(cmdtst)515253