[Spice-devel] [spice-server] Unify header guards

Frediano Ziglio fziglio at redhat.com
Thu Mar 30 16:55:28 UTC 2017


> 
> This changes the header guards in all .h files to follow this format:
> 
> /*
>  * Licensing block
>  */
> 
> #ifndef FILE_NAME_H_
> #define FILE_NAME_H_
> 
> /* ... */
> 
> #endif /* FILE_NAME_H_ */

Even the line between license and guards!
You are really in strong paranoia mode!

> ---
>  server/agent-msg-filter.h         | 6 +++---
>  server/cache-item.h               | 3 ++-
>  server/char-device.h              | 3 ++-
>  server/common-graphics-channel.h  | 6 +++---
>  server/cursor-channel-client.h    | 3 ++-
>  server/cursor-channel.h           | 3 ++-
>  server/dcc-private.h              | 1 +
>  server/dcc.h                      | 3 ++-
>  server/demarshallers.h            | 7 ++++---
>  server/dispatcher.h               | 7 ++++---
>  server/display-channel.h          | 1 +
>  server/display-limits.h           | 1 +
>  server/glib-compat.h              | 1 +
>  server/glz-encoder-dict.h         | 2 +-
>  server/glz-encoder-priv.h         | 2 +-
>  server/glz-encoder.h              | 6 +++---
>  server/image-cache.h              | 3 ++-
>  server/image-encoders.h           | 1 +
>  server/inputs-channel-client.h    | 6 +++---
>  server/inputs-channel.h           | 6 +++---
>  server/jpeg-encoder.h             | 8 +++++---
>  server/lz4-encoder.h              | 8 +++++---
>  server/main-channel-client.h      | 7 ++++---
>  server/main-channel.h             | 6 +++---
>  server/main-dispatcher.h          | 7 ++++---
>  server/migration-protocol.h       | 6 +++---
>  server/pixmap-cache.h             | 7 ++++---
>  server/red-channel-capabilities.h | 2 +-
>  server/red-channel-client.h       | 6 +++---
>  server/red-channel.h              | 6 +++---
>  server/red-client.h               | 6 +++---
>  server/red-common.h               | 6 +++---
>  server/red-parse-qxl.h            | 6 +++---
>  server/red-pipe-item.h            | 7 ++++---
>  server/red-qxl.h                  | 6 +++---
>  server/red-record-qxl.h           | 6 +++---
>  server/red-worker.h               | 6 +++---
>  server/reds-private.h             | 7 ++++---
>  server/reds-stream.h              | 6 +++---
>  server/reds.h                     | 6 +++---
>  server/smartcard-channel-client.h | 6 +++---
>  server/smartcard.h                | 7 ++++---
>  server/sound.h                    | 2 +-
>  server/spice-bitmap-utils.h       | 1 +
>  server/spice-core.h               | 1 -
>  server/spice-experimental.h       | 7 ++++---
>  server/spice-replay.h             | 3 ++-
>  server/stat-file.h                | 1 +
>  server/stat.h                     | 6 +++---
>  server/stream.h                   | 3 ++-
>  server/tree.h                     | 3 ++-
>  server/utils.h                    | 3 ++-
>  server/video-encoder.h            | 6 +++---
>  server/zlib-encoder.h             | 8 +++++---
>  54 files changed, 142 insertions(+), 111 deletions(-)
> 
....

Change in server/spice-experimental.h could be considered API change
but was deprecated too much time ago.

Acked

Frediano


More information about the Spice-devel mailing list