version 1.13, 2003/06/19 20:31:08 |
version 1.14, 2003/06/25 16:04:45 |
|
|
{ |
{ |
|
|
fprintf(fout,"#ifdef __cplusplus\n"); |
fprintf(fout,"#ifdef __cplusplus\n"); |
fprintf(fout, "extern \"C\" bool_t xdr_%s(XDR *, %s%s);\n", |
fprintf(fout, "extern \"C\" bool_t xdr_%s(XDR *, %s %s);\n", |
name, name, pointerp ? ("*") : ""); |
name, name, pointerp ? ("*") : ""); |
fprintf(fout,"#elif defined(__STDC__)\n"); |
fprintf(fout,"#elif defined(__STDC__)\n"); |
fprintf(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n", |
fprintf(fout, "extern bool_t xdr_%s(XDR *, %s %s);\n", |
name, name, pointerp ? ("*") : ""); |
name, name, pointerp ? ("*") : ""); |
fprintf(fout,"#else /* Old Style C */\n"); |
fprintf(fout,"#else /* Old Style C */\n"); |
fprintf(fout, "bool_t xdr_%s();\n", name); |
fprintf(fout, "bool_t xdr_%s();\n", name); |