Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/uts/common/rpc Avoid declaring ulon...



details:   https://anonhg.NetBSD.org/src/rev/5d52d550ded0
branches:  trunk
changeset: 323377:5d52d550ded0
user:      maya <maya%NetBSD.org@localhost>
date:      Wed Jun 13 04:21:21 2018 +0000

description:
Avoid declaring ulonglong_t.

Comment here already says it isn't necessary and will be removed.
Hasten the process for us and avoid the problematic typedef.

This is useful because u_longlong_t would otherwise need to be
provided by compat headers.

diffstat:

 external/cddl/osnet/dist/uts/common/rpc/types.h |  7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diffs (17 lines):

diff -r 8a0942335a00 -r 5d52d550ded0 external/cddl/osnet/dist/uts/common/rpc/types.h
--- a/external/cddl/osnet/dist/uts/common/rpc/types.h   Wed Jun 13 04:17:43 2018 +0000
+++ b/external/cddl/osnet/dist/uts/common/rpc/types.h   Wed Jun 13 04:21:21 2018 +0000
@@ -49,13 +49,6 @@
 typedef int bool_t;
 typedef int enum_t;
 
-/*
- * The ulonglong_t type was introduced to workaround an rpcgen bug
- * that has been fixed, this next typedef will be removed in a future release.
- * Do *NOT* use!
- */
-typedef u_longlong_t ulonglong_t;
-
 #if defined(_LP64) || defined(_I32LPx)
 typedef        uint32_t rpcprog_t;
 typedef        uint32_t rpcvers_t;



Home | Main Index | Thread Index | Old Index