[Libguestfs] [PATCH nbdkit 1/4] common/protocol: Rename protocol.h to nbd-protocol.h.

Eric Blake eblake at redhat.com
Tue Sep 24 21:58:59 UTC 2019


On 9/24/19 4:07 PM, Richard W.M. Jones wrote:
> In preparation for installing this header as a common public header
> for use by other projects, rename it.
> ---
>  common/protocol/Makefile.am                    | 10 +++++-----
>  common/protocol/{protocol.h => nbd-protocol.h} |  6 +++---
>  common/protocol/protostrings.sed               |  6 +++---
>  plugins/nbd/nbd-standalone.c                   |  2 +-
>  server/protocol-handshake-newstyle.c           |  2 +-
>  server/protocol-handshake-oldstyle.c           |  2 +-
>  server/protocol-handshake.c                    |  2 +-
>  server/protocol.c                              |  2 +-
>  tests/test-layers.c                            |  2 +-
>  9 files changed, 17 insertions(+), 17 deletions(-)
> 
> diff --git a/common/protocol/Makefile.am b/common/protocol/Makefile.am
> index 99df43b..996be26 100644
> --- a/common/protocol/Makefile.am
> +++ b/common/protocol/Makefile.am
> @@ -32,7 +32,7 @@
>  include $(top_srcdir)/common-rules.mk
>  
>  EXTRA_DIST = \
> -	protocol.h \
> +	nbd-protocol.h \
>  	protostrings.c \
>  	protostrings.sed \
>  	$(NULL)
> @@ -41,16 +41,16 @@ noinst_LTLIBRARIES = libprotocol.la
>  
>  libprotocol_la_SOURCES = \
>          protostrings.c \
> -	protocol.h \
> +	nbd-protocol.h \

Huh, we've got inconsistent space-v-tab, if you want to touch it while here.

ACK

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190924/2011da0d/attachment.sig>


More information about the Libguestfs mailing list