]> granicus.if.org Git - strace/commit
Introduce printflags64 function
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 28 Apr 2016 18:55:18 +0000 (18:55 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 28 Apr 2016 19:05:13 +0000 (19:05 +0000)
commit00beed61a43e042a37bcfbda71ed21d1e4918716
tree8022be7f922c776c7935661c3f2629fc52937208
parent01c910ccc32ebc2c92fff68867f11e74102bf8e2
Introduce printflags64 function

This is necessary for the upcoming change of xlat.val type.

* defs.h (printflags): Rename to printflags64, change type of integer
argument to uint64_t.
(printflags): New static inline function.
* util.c (printflags): Rename to printflags64, change type of integer
argument to uint64_t.  Print it using PRIx64 format.
Based on patch by Jeff Mahoney <jeffm@suse.com>.
defs.h
util.c