Blame src/api/wordexp.c

nsz 6a2161
#include <wordexp.h>
nsz 6a2161
#define T(t) (t*)0;
nsz 6a2161
#define F(t,n) {t *y = &x.;;}
nsz 6a2161
#define C(n) switch(n){case n:;}
nsz 6a2161
static void f()
nsz 6a2161
{
nsz 6a2161
T(size_t)
nsz 6a2161
{
nsz 6a2161
wordexp_t x;
nsz 6a2161
F(size_t, we_wordc)
nsz 6a2161
F(char **,we_wordv)
nsz 6a2161
F(size_t, we_offs)
nsz 6a2161
}
nsz 6a2161
C(WRDE_APPEND)
nsz 6a2161
C(WRDE_DOOFFS)
nsz 6a2161
C(WRDE_NOCMD)
nsz 6a2161
C(WRDE_REUSE)
nsz 6a2161
C(WRDE_SHOWERR)
nsz 6a2161
C(WRDE_UNDEF)
nsz 6a2161
C(WRDE_BADCHAR)
nsz 6a2161
C(WRDE_BADVAL)
nsz 6a2161
C(WRDE_CMDSUB)
nsz 6a2161
C(WRDE_NOSPACE)
nsz 6a2161
C(WRDE_SYNTAX)
nsz 0ef264
{int(*p)(const char*restrict,wordexp_t*restrict,int) = wordexp;}
nsz 0ef264
{void(*p)(wordexp_t*) = wordfree;}
nsz 6a2161
}