summaryrefslogtreecommitdiff
path: root/header.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-06-02 10:55:27 +0000
committerThomas Schwinge <tschwinge@gnu.org>2007-06-02 10:55:27 +0000
commit577f843f6d6fdad2332c7a5d4c8c3dbcc52fe5d0 (patch)
tree5c1c8b451f09ec0e9adc5e321935257e8e431780 /header.c
parentb5e594cb55735480b762f8794cac4ebe630d6bec (diff)
2007-06-02 Thomas Schwinge <tschwinge@gnu.org>
* global.c (LintLib): Remove definition. * global.h (LintLib): Remove declaration. * header.c (WriteUserRoutine, WriteServerRoutine): Don't emit `Lint' code. * user.c (WriteIncludes): Likewise. * utils.c (WriteRCSDecl): Likewise.
Diffstat (limited to 'header.c')
-rw-r--r--header.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/header.c b/header.c
index 7785767..e8a56fe 100644
--- a/header.c
+++ b/header.c
@@ -85,22 +85,9 @@ WriteUserRoutine(FILE *file, const routine_t *rt)
fprintf(file, "/* %s %s */\n", rtRoutineKindToStr(rt->rtKind), rt->rtName);
WriteMigExternal(file);
fprintf(file, "%s %s\n", ReturnTypeStr(rt), rt->rtUserName);
- fprintf(file, "#if\t%s\n", LintLib);
- fprintf(file, " (");
- WriteList(file, rt->rtArgs, WriteNameDecl, akbUserArg, ", " , "");
- fprintf(file, ")\n");
- WriteList(file, rt->rtArgs, WriteUserVarDecl, akbUserArg, ";\n", ";\n");
- fprintf(file, "{ ");
- if (!rt->rtProcedure)
- fprintf(file, "return ");
- fprintf(file, "%s(", rt->rtUserName);
- WriteList(file, rt->rtArgs, WriteNameDecl, akbUserArg, ", ", "");
- fprintf(file, "); }\n");
- fprintf(file, "#else\n");
fprintf(file, "(\n");
WriteList(file, rt->rtArgs, WriteUserVarDecl, akbUserArg, ",\n", "\n");
fprintf(file, ");\n");
- fprintf(file, "#endif\n");
}
void
@@ -153,24 +140,10 @@ WriteServerRoutine(FILE *file, const routine_t *rt)
fprintf(file, "/* %s %s */\n", rtRoutineKindToStr(rt->rtKind), rt->rtName);
WriteMigExternal(file);
fprintf(file, "%s %s\n", ReturnTypeStr(rt), rt->rtServerName);
- fprintf(file, "#if\t%s\n", LintLib);
- fprintf(file, " (");
- WriteList(file, rt->rtArgs, WriteNameDecl, akbServerArg, ", " , "");
- fprintf(file, ")\n");
- WriteList(file, rt->rtArgs, WriteServerVarDecl,
- akbServerArg, ";\n", ";\n");
- fprintf(file, "{ ");
- if (!rt->rtProcedure)
- fprintf(file, "return ");
- fprintf(file, "%s(", rt->rtServerName);
- WriteList(file, rt->rtArgs, WriteNameDecl, akbServerArg, ", ", "");
- fprintf(file, "); }\n");
- fprintf(file, "#else\n");
fprintf(file, "(\n");
WriteList(file, rt->rtArgs, WriteServerVarDecl,
akbServerArg, ",\n", "\n");
fprintf(file, ");\n");
- fprintf(file, "#endif\n");
}
void