[Spice-devel] [PATCH 0/3] Header cleanups

Frediano Ziglio fziglio at redhat.com
Mon May 9 10:51:19 UTC 2016


Various patches doing some cleanup with headers.
First two are quite easy and small.
Last one is the main one trying to reduce the hell of
dependencies. It's not complete but it's quite ready for
discussions.

Frediano Ziglio (3):
  use #include<> style for spice-common header inclusions.
  remove sw-canvas.h
  try to minimize header dependencies

 server/Makefile.am              |  1 -
 server/agent-msg-filter.h       |  9 +++++---
 server/cache-item.h             |  4 ++--
 server/char-device.h            |  3 +--
 server/cursor-channel.c         |  2 +-
 server/cursor-channel.h         |  3 ---
 server/dcc-encoders.h           | 46 +++++++++++++++++++++++------------------
 server/dcc-send.c               |  8 ++++---
 server/dcc.c                    |  2 ++
 server/dcc.h                    | 10 +++++----
 server/demarshallers.h          |  3 +++
 server/dispatcher.c             |  5 +++--
 server/dispatcher.h             |  2 +-
 server/display-channel.c        |  3 +++
 server/display-channel.h        | 25 +++-------------------
 server/glz-encoder-priv.h       |  4 +++-
 server/glz-encoder.h            |  3 +--
 server/image-cache.h            |  6 +++---
 server/inputs-channel.c         |  6 +++---
 server/inputs-channel.h         |  2 ++
 server/main-channel.c           |  6 +++---
 server/main-channel.h           |  2 +-
 server/main-dispatcher.h        |  1 -
 server/memslot.c                |  3 +--
 server/memslot.h                |  2 --
 server/migration-protocol.h     |  2 ++
 server/pixmap-cache.c           |  1 +
 server/pixmap-cache.h           | 10 ++++++---
 server/red-channel.c            |  4 ++--
 server/red-channel.h            |  8 +++----
 server/red-common.h             | 16 +++++++-------
 server/red-parse-qxl.c          |  2 +-
 server/red-parse-qxl.h          |  9 +++++---
 server/red-pipe-item.h          |  1 +
 server/red-qxl.c                |  4 ++--
 server/red-qxl.h                |  1 -
 server/red-record-qxl.h         |  7 ++++---
 server/red-replay-qxl.h         |  3 ++-
 server/red-worker.c             | 11 ++++++----
 server/red-worker.h             |  3 +--
 server/reds-private.h           |  5 +++++
 server/reds-stream.c            |  2 +-
 server/reds-stream.h            |  8 ++-----
 server/reds.c                   |  4 ++--
 server/reds.h                   |  8 +++----
 server/smartcard.h              |  2 ++
 server/sound.c                  |  6 +++---
 server/sound.h                  |  6 ++++--
 server/spice-bitmap-utils.h     |  5 ++++-
 server/spicevmc.c               |  2 +-
 server/stat.h                   |  1 +
 server/stream.c                 |  2 ++
 server/stream.h                 |  4 ++--
 server/sw-canvas.c              |  4 ++--
 server/sw-canvas.h              | 22 --------------------
 server/tests/basic_event_loop.c |  4 ++--
 server/tests/replay.c           |  3 ++-
 server/tests/stream-test.c      |  2 +-
 server/tests/test-qxl-parsing.c |  1 +
 server/tree.h                   |  7 ++++---
 server/utils.h                  |  3 ++-
 server/video-encoder.h          |  3 +++
 server/zlib-encoder.h           |  2 ++
 63 files changed, 177 insertions(+), 172 deletions(-)
 delete mode 100644 server/sw-canvas.h

-- 
2.5.5



More information about the Spice-devel mailing list