aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/rpc_parse.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
commita334319f6530564d22e775935d9c91663623a1b4 (patch)
treeb5877475619e4c938e98757d518bb1e9cbead751 /sunrpc/rpc_parse.c
parent0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (diff)
downloadglibc-a334319f6530564d22e775935d9c91663623a1b4.tar
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.gz
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.bz2
glibc-a334319f6530564d22e775935d9c91663623a1b4.zip
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
Diffstat (limited to 'sunrpc/rpc_parse.c')
-rw-r--r--sunrpc/rpc_parse.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sunrpc/rpc_parse.c b/sunrpc/rpc_parse.c
index f66538701f..7115cbdd08 100644
--- a/sunrpc/rpc_parse.c
+++ b/sunrpc/rpc_parse.c
@@ -31,6 +31,10 @@
/*
* From: @(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI
*/
+#if defined(LIBC_SCCS) && !defined(lint)
+static const char parse_rcsid[] =
+ "$Id$";
+#endif
/*
* rpc_parse.c, Parser for the RPC protocol compiler
@@ -91,7 +95,6 @@ get_definition (void)
def_const (defp);
break;
case TOK_EOF:
- free (defp);
return (NULL);
default:
error ("definition keyword expected");
@@ -303,9 +306,7 @@ def_union (definition *defp)
case_list *cases;
/* case_list *tcase; */
case_list **tailp;
-#if 0
int flag;
-#endif
defp->def_kind = DEF_UNION;
scan (TOK_IDENT, &tok);
@@ -325,9 +326,7 @@ def_union (definition *defp)
cases->case_name = tok.str;
scan (TOK_COLON, &tok);
/* now peek at next token */
-#if 0
flag = 0;
-#endif
if (peekscan (TOK_CASE, &tok))
{
@@ -344,7 +343,6 @@ def_union (definition *defp)
}
while (peekscan (TOK_CASE, &tok));
}
-#if 0
else if (flag)
{
@@ -352,7 +350,6 @@ def_union (definition *defp)
tailp = &cases->next;
cases = ALLOC (case_list);
};
-#endif
get_declaration (&dec, DEF_UNION);
cases->case_decl = dec;