On 5/23/19 4:32 AM, Richard W.M. Jones wrote:
Simple refactoring.
---
generator/states-newstyle-opt-export-name.c | 12 +++++------
generator/states-newstyle-opt-go.c | 13 ++++++------
generator/states-oldstyle.c | 10 +++-------
lib/flags.c | 22 +++++++++++++++++++++
lib/internal.h | 5 +++++
5 files changed, 42 insertions(+), 20 deletions(-)
ACK. Odd that the diffstat doesn't match that this does look simpler in
the end. It also gives us a common hook point to enforce (which we may
want - although we're still deciding that) that secondary multi-conn
connections come up with the same eflags as the first.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization:
qemu.org |
libvirt.org