summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpc_parse.c9
-rw-r--r--sunrpc/rpc_scan.h1
2 files changed, 10 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";
diff --git a/sunrpc/rpc_scan.h b/sunrpc/rpc_scan.h
index 2f0d586682..74d77b0fbb 100644
--- a/sunrpc/rpc_scan.h
+++ b/sunrpc/rpc_scan.h
@@ -65,6 +65,7 @@ enum tok_kind {
 	TOK_INT,
 	TOK_SHORT,
 	TOK_LONG,
+	TOK_HYPER,
 	TOK_UNSIGNED,
 	TOK_FLOAT,
 	TOK_DOUBLE,