Clean up ill-advised or unusual header guards

Leading underscores are ill-advised because such identifiers are
reserved.  Trailing underscores are merely ugly.  Strip both.

Our header guards commonly end in _H.  Normalize the exceptions.

Done with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190315145123.28030-7-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[Changes to slirp/ dropped, as we're about to spin it off]
This commit is contained in:
Markus Armbruster 2019-03-15 15:51:21 +01:00
parent 58ea30f514
commit a8b991b52d
38 changed files with 109 additions and 100 deletions

View file

@ -11,8 +11,8 @@
* top-level directory.
*/
#ifndef _QEMU_VHOST_VSOCK_H
#define _QEMU_VHOST_VSOCK_H
#ifndef QEMU_VHOST_VSOCK_H
#define QEMU_VHOST_VSOCK_H
#include "hw/virtio/virtio.h"
#include "hw/virtio/vhost.h"
@ -38,4 +38,4 @@ typedef struct {
/*< public >*/
} VHostVSock;
#endif /* _QEMU_VHOST_VSOCK_H */
#endif /* QEMU_VHOST_VSOCK_H */