summaryrefslogtreecommitdiff
path: root/sunrpc/rpc_parse.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-04 17:39:59 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-04 17:39:59 +0000
commit816fc1ed2eb2ddc50ac28fc4aeeaa07c93d54f06 (patch)
tree1850092fe1effedde63a1a491e47f5b103acd6a6 /sunrpc/rpc_parse.c
parentce64ae6baa81db289bcc2f0ab68f530fca45425c (diff)
Update.
2001-04-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h. * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file. * sunrpc/rpc_scan.c (symbols): Add entry for HYPER. * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER. * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER. (unsigned_dec): Likewise. Patch by atai@jezebel.dreamhost.com.
Diffstat (limited to 'sunrpc/rpc_parse.c')
-rw-r--r--sunrpc/rpc_parse.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sunrpc/rpc_parse.c b/sunrpc/rpc_parse.c
index e6c4e4a7aa..b036aa456d 100644
--- a/sunrpc/rpc_parse.c
+++ b/sunrpc/rpc_parse.c
@@ -621,6 +621,10 @@ get_type (const char **prefixp, const char **typep, defkind dkind)
*typep = "long";
(void) peekscan (TOK_INT, &tok);
break;
+ case TOK_HYPER:
+ *typep = "int64_t";
+ (void) peekscan(TOK_INT, &tok);
+ break;
case TOK_VOID:
if (dkind != DEF_UNION && dkind != DEF_PROGRAM)
{
@@ -664,6 +668,11 @@ unsigned_dec (const char **typep)
*typep = "u_long";
(void) peekscan (TOK_INT, &tok);
break;
+ case TOK_HYPER:
+ get_token (&tok);
+ *typep = "uint64_t";
+ (void) peekscan(TOK_INT, &tok);
+ break;
case TOK_INT:
get_token (&tok);
*typep = "u_int";