Mercurial > hg > CbC > old > device
diff conv/null.c @ 60:aa779bcffef7
CwC converters
author | kono |
---|---|
date | Wed, 19 Feb 2003 21:22:49 +0900 |
parents | |
children | 8ad746efa4f8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conv/null.c Wed Feb 19 21:22:49 2003 +0900 @@ -0,0 +1,17 @@ +#define EXTERN /**/ + +#include "mc.h" + +static void print(char *); + +Converter null_converter = { + &print +}; + +static FILE *vout; + +static void +print(char *s) +{ + fprintf(vout,"null: %s\n",s); +}