[Spice-devel] [PATCH 11/17] Remove trailing blank lines

Daniel P. Berrange berrange at redhat.com
Tue Jan 10 07:58:32 PST 2012


From: "Daniel P. Berrange" <berrange at redhat.com>

Remove any blank lines at the end of all source files
---
 TODO.multiclient                                |    1 -
 autogen.sh                                      |    1 -
 client/application.cpp                          |    1 -
 client/application.h                            |    1 -
 client/audio_channels.h                         |    1 -
 client/audio_devices.h                          |    1 -
 client/cache.hpp                                |    1 -
 client/canvas.h                                 |    1 -
 client/client_net_socket.cpp                    |    1 -
 client/cmd_line_parser.cpp                      |    1 -
 client/cmd_line_parser.h                        |    1 -
 client/common.h                                 |    1 -
 client/cursor.cpp                               |    1 -
 client/cursor.h                                 |    1 -
 client/cursor_channel.cpp                       |    1 -
 client/cursor_channel.h                         |    1 -
 client/debug.h                                  |    1 -
 client/demarshallers.h                          |    1 -
 client/display_channel.cpp                      |    1 -
 client/display_channel.h                        |    1 -
 client/event_sources.h                          |    1 -
 client/glz_decode_tmpl.c                        |    1 -
 client/glz_decoded_image.h                      |    1 -
 client/glz_decoder.cpp                          |    1 -
 client/glz_decoder.h                            |    1 -
 client/glz_decoder_config.h                     |    1 -
 client/glz_decoder_window.cpp                   |    1 -
 client/glz_decoder_window.h                     |    1 -
 client/gui/Makefile.am                          |    1 -
 client/gui/gui.cpp                              |    1 -
 client/gui/gui.h                                |    1 -
 client/gui/resource_provider.cpp                |    1 -
 client/gui/resource_provider.h                  |    1 -
 client/gui/softrenderer.cpp                     |    1 -
 client/gui/softrenderer.h                       |    1 -
 client/gui/softtexture.cpp                      |    1 -
 client/gui/softtexture.h                        |    1 -
 client/hot_keys.cpp                             |    1 -
 client/hot_keys.h                               |    1 -
 client/icon.h                                   |    1 -
 client/inputs_channel.cpp                       |    1 -
 client/inputs_channel.h                         |    1 -
 client/inputs_handler.h                         |    1 -
 client/jpeg_decoder.h                           |    1 -
 client/menu.h                                   |    1 -
 client/monitor.h                                |    1 -
 client/pixels_source.h                          |    1 -
 client/platform.h                               |    1 -
 client/playback_channel.cpp                     |    1 -
 client/read_write_mutex.h                       |    1 -
 client/record_channel.cpp                       |    1 -
 client/red_channel.cpp                          |    1 -
 client/red_channel.h                            |    1 -
 client/red_client.cpp                           |    1 -
 client/red_client.h                             |    1 -
 client/red_drawable.h                           |    1 -
 client/red_gdi_canvas.cpp                       |    1 -
 client/red_gdi_canvas.h                         |    1 -
 client/red_gl_canvas.cpp                        |    1 -
 client/red_gl_canvas.h                          |    1 -
 client/red_key.h                                |    1 -
 client/red_peer.h                               |    1 -
 client/red_pixmap.h                             |    1 -
 client/red_pixmap_gdi.h                         |    1 -
 client/red_pixmap_gl.h                          |    1 -
 client/red_pixmap_sw.h                          |    1 -
 client/red_sw_canvas.cpp                        |    1 -
 client/red_sw_canvas.h                          |    1 -
 client/red_types.h                              |    1 -
 client/red_window.h                             |    1 -
 client/screen.cpp                               |    1 -
 client/screen.h                                 |    1 -
 client/screen_layer.cpp                         |    1 -
 client/screen_layer.h                           |    1 -
 client/shared_cache.hpp                         |    1 -
 client/smartcard_channel.cpp                    |    1 -
 client/smartcard_channel.h                      |    1 -
 client/threads.cpp                              |    1 -
 client/threads.h                                |    1 -
 client/utils.cpp                                |    1 -
 client/utils.h                                  |    1 -
 client/windows/atomic_count.h                   |    1 -
 client/windows/event_sources_p.cpp              |    1 -
 client/windows/event_sources_p.h                |    1 -
 client/windows/main.cpp                         |    1 -
 client/windows/my_getopt.cpp                    |    1 -
 client/windows/named_pipe.cpp                   |    1 -
 client/windows/named_pipe.h                     |    1 -
 client/windows/pixels_source.cpp                |    1 -
 client/windows/pixels_source_p.h                |    1 -
 client/windows/platform_utils.cpp               |    1 -
 client/windows/platform_utils.h                 |    1 -
 client/windows/playback.cpp                     |    1 -
 client/windows/playback.h                       |    1 -
 client/windows/record.cpp                       |    1 -
 client/windows/record.h                         |    1 -
 client/windows/red_drawable.cpp                 |    1 -
 client/windows/red_pixmap.cpp                   |    1 -
 client/windows/red_pixmap_gdi.cpp               |    1 -
 client/windows/red_pixmap_sw.cpp                |    1 -
 client/windows/red_window_p.h                   |    1 -
 client/windows/stdint.h                         |    3 ---
 client/windows/win_platform.h                   |    1 -
 client/x11/.gitignore                           |    2 +-
 client/x11/atomic_count.h                       |    1 -
 client/x11/event_sources_p.h                    |    1 -
 client/x11/main.cpp                             |    1 -
 client/x11/named_pipe.cpp                       |    1 -
 client/x11/named_pipe.h                         |    1 -
 client/x11/pixels_source.cpp                    |    1 -
 client/x11/pixels_source_p.h                    |    1 -
 client/x11/platform_utils.h                     |    1 -
 client/x11/playback.cpp                         |    1 -
 client/x11/playback.h                           |    1 -
 client/x11/record.cpp                           |    1 -
 client/x11/record.h                             |    1 -
 client/x11/red_drawable.cpp                     |    1 -
 client/x11/red_pixmap.cpp                       |    1 -
 client/x11/red_pixmap_gl.cpp                    |    1 -
 client/x11/red_pixmap_sw.cpp                    |    1 -
 client/x11/red_window.cpp                       |    1 -
 client/x11/red_window_p.h                       |    1 -
 client/x11/res.cpp                              |    1 -
 client/x11/res.h                                |    1 -
 client/x11/resource.h                           |    1 -
 client/x11/x_icon.cpp                           |    1 -
 client/x11/x_icon.h                             |    1 -
 client/x11/x_platform.h                         |    1 -
 common/Makefile.am                              |    1 -
 common/canvas_utils.c                           |    1 -
 common/gdi_canvas.c                             |    1 -
 common/glc.c                                    |    1 -
 common/lz.c                                     |    1 -
 common/lz_decompress_tmpl.c                     |    1 -
 common/ogl_ctx.c                                |    1 -
 common/ogl_ctx.h                                |    1 -
 common/quic.c                                   |    1 -
 common/quic.h                                   |    1 -
 common/quic_config.h                            |    1 -
 common/quic_family_tmpl.c                       |    1 -
 common/quic_rgb_tmpl.c                          |    1 -
 common/quic_tmpl.c                              |    1 -
 common/rect.h                                   |    1 -
 common/region.c                                 |    1 -
 common/region.h                                 |    1 -
 common/ring.h                                   |    1 -
 common/rop3.h                                   |    1 -
 python_modules/Makefile.am                      |    1 -
 python_modules/spice_parser.py                  |    1 -
 server/demarshallers.h                          |    1 -
 server/glz_encode_tmpl.c                        |    1 -
 server/glz_encoder.c                            |    1 -
 server/glz_encoder.h                            |    1 -
 server/glz_encoder_config.h                     |    1 -
 server/glz_encoder_dictionary.c                 |    1 -
 server/glz_encoder_dictionary.h                 |    1 -
 server/glz_encoder_dictionary_protected.h       |    1 -
 server/inputs_channel.c                         |    1 -
 server/inputs_channel.h                         |    1 -
 server/main_channel.c                           |    1 -
 server/red_bitmap_utils.h                       |    1 -
 server/red_common.h                             |    1 -
 server/red_parse_qxl.c                          |    1 -
 server/red_tunnel_worker.c                      |    1 -
 server/red_worker.h                             |    1 -
 server/reds.h                                   |    1 -
 server/smartcard.h                              |    1 -
 server/snd_worker.c                             |    1 -
 server/snd_worker.h                             |    1 -
 server/spice-experimental.h                     |    1 -
 server/stat.h                                   |    1 -
 server/tests/README                             |    1 -
 server/tests/basic_event_loop.c                 |    1 -
 server/tests/test_display_base.c                |    1 -
 server/tests/test_display_no_ssl.c              |    1 -
 server/tests/test_display_streaming.c           |    1 -
 server/tests/test_empty_success.c               |    1 -
 server/tests/test_fail_on_null_core_interface.c |    1 -
 server/tests/test_just_sockets_no_ssl.c         |    1 -
 tools/bitmap_to_c.c                             |    1 -
 tools/icon_to_c.c                               |    1 -
 tools/reds_stat.c                               |    1 -
 182 files changed, 1 insertions(+), 184 deletions(-)

diff --git a/TODO.multiclient b/TODO.multiclient
index 92d8a7d..5dcdb21 100644
--- a/TODO.multiclient
+++ b/TODO.multiclient
@@ -13,4 +13,3 @@ Chardev channel: allow adding a chardev channel without any server changes:
  qemu -spicevmc name=generic,channelname=bla,id=bla -mon chardev=bla 
  Note: client will still need to decide what to do with it of course. So the channelname
  will have to have a predefined meaning.
-
diff --git a/autogen.sh b/autogen.sh
index 217cc22..48ee9a2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -164,4 +164,3 @@ cd $ORIGDIR || exit $?
 rm -f config.cache
 
 do_cmd $srcdir/configure --enable-maintainer-mode ${1+"$@"} || exit 1
-
diff --git a/client/application.cpp b/client/application.cpp
index e120dfe..806e006 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -2663,4 +2663,3 @@ int Application::main(int argc, char** argv, const char* version_str)
     cleanup_globals();
     return ret;
 }
-
diff --git a/client/application.h b/client/application.h
index db8d4e8..ac51cd2 100644
--- a/client/application.h
+++ b/client/application.h
@@ -407,4 +407,3 @@ private:
 };
 
 #endif
-
diff --git a/client/audio_channels.h b/client/audio_channels.h
index 2722e20..d38a79e 100644
--- a/client/audio_channels.h
+++ b/client/audio_channels.h
@@ -106,4 +106,3 @@ private:
 };
 
 #endif
-
diff --git a/client/audio_devices.h b/client/audio_devices.h
index 85478ac..a1da1f7 100644
--- a/client/audio_devices.h
+++ b/client/audio_devices.h
@@ -49,4 +49,3 @@ public:
 };
 
 #endif
-
diff --git a/client/cache.hpp b/client/cache.hpp
index 6687400..42e6873 100644
--- a/client/cache.hpp
+++ b/client/cache.hpp
@@ -118,4 +118,3 @@ private:
 };
 
 #endif
-
diff --git a/client/canvas.h b/client/canvas.h
index a9cdecd..5a34bdc 100644
--- a/client/canvas.h
+++ b/client/canvas.h
@@ -350,4 +350,3 @@ private:
 
 
 #endif
-
diff --git a/client/client_net_socket.cpp b/client/client_net_socket.cpp
index 412c1fd..e9f1e77 100644
--- a/client/client_net_socket.cpp
+++ b/client/client_net_socket.cpp
@@ -386,4 +386,3 @@ void ClientNetSocket::apply_disconnect()
     _close_pending = false;
     _fin_pending = false;
 }
-
diff --git a/client/cmd_line_parser.cpp b/client/cmd_line_parser.cpp
index f2b3290..25ce05b 100644
--- a/client/cmd_line_parser.cpp
+++ b/client/cmd_line_parser.cpp
@@ -517,4 +517,3 @@ void CmdLineParser::show_help()
     os << "\n";
     Platform::term_printf(os.str().c_str());
 }
-
diff --git a/client/cmd_line_parser.h b/client/cmd_line_parser.h
index 5faf52b..1ce1807 100644
--- a/client/cmd_line_parser.h
+++ b/client/cmd_line_parser.h
@@ -102,4 +102,3 @@ private:
 };
 
 #endif
-
diff --git a/client/common.h b/client/common.h
index 8b4e39d..77e9355 100644
--- a/client/common.h
+++ b/client/common.h
@@ -88,4 +88,3 @@ extern const char* PACKAGE_VERSION;
 #include "red_types.h"
 
 #endif
-
diff --git a/client/cursor.cpp b/client/cursor.cpp
index 2ca2cd7..e9e3006 100644
--- a/client/cursor.cpp
+++ b/client/cursor.cpp
@@ -113,4 +113,3 @@ int LocalCursor::get_size_bits(const SpiceCursorHeader& header, int& size)
         return 0;
     }
 }
-
diff --git a/client/cursor.h b/client/cursor.h
index f5084cd..16b7fc5 100644
--- a/client/cursor.h
+++ b/client/cursor.h
@@ -70,4 +70,3 @@ private:
 };
 
 #endif
-
diff --git a/client/cursor_channel.cpp b/client/cursor_channel.cpp
index 12e2470..e317dfa 100644
--- a/client/cursor_channel.cpp
+++ b/client/cursor_channel.cpp
@@ -667,4 +667,3 @@ ChannelFactory& CursorChannel::Factory()
 {
     return factory;
 }
-
diff --git a/client/cursor_channel.h b/client/cursor_channel.h
index c9e32b4..3458c5f 100644
--- a/client/cursor_channel.h
+++ b/client/cursor_channel.h
@@ -91,4 +91,3 @@ private:
 };
 
 #endif
-
diff --git a/client/debug.h b/client/debug.h
index c72ccd8..f2cc299 100644
--- a/client/debug.h
+++ b/client/debug.h
@@ -90,4 +90,3 @@ void spice_log_cleanup(void);
 }
 
 #endif // _H_DEBUG
-
diff --git a/client/demarshallers.h b/client/demarshallers.h
index 6d54ece..90084cf 100644
--- a/client/demarshallers.h
+++ b/client/demarshallers.h
@@ -25,4 +25,3 @@ spice_parse_channel_func_t spice_get_server_channel_parser(uint32_t channel, uns
 spice_parse_channel_func_t spice_get_server_channel_parser1(uint32_t channel, unsigned int *max_message_type);
 
 #endif
-
diff --git a/client/display_channel.cpp b/client/display_channel.cpp
index 2e0613c..2239122 100644
--- a/client/display_channel.cpp
+++ b/client/display_channel.cpp
@@ -1840,4 +1840,3 @@ ChannelFactory& DisplayChannel::Factory()
 {
     return factory;
 }
-
diff --git a/client/display_channel.h b/client/display_channel.h
index 61109ed..7cdd55c 100644
--- a/client/display_channel.h
+++ b/client/display_channel.h
@@ -241,4 +241,3 @@ private:
 };
 
 #endif
-
diff --git a/client/event_sources.h b/client/event_sources.h
index 5983f39..0db8ce6 100644
--- a/client/event_sources.h
+++ b/client/event_sources.h
@@ -92,4 +92,3 @@ class EventSources::Handle: public EventSource, public Handle_p {
 };
 
 #endif
-
diff --git a/client/glz_decode_tmpl.c b/client/glz_decode_tmpl.c
index 2e4f136..6aaf63b 100644
--- a/client/glz_decode_tmpl.c
+++ b/client/glz_decode_tmpl.c
@@ -335,4 +335,3 @@ static size_t FNAME(decode)(GlzDecoderWindow &window, uint8_t* in_buf,
 #undef COPY_COMP_PIXEL
 #undef COPY_PLT_ENTRY
 #undef CAST_PLT_DISTANCE
-
diff --git a/client/glz_decoded_image.h b/client/glz_decoded_image.h
index 6827d6d..2e607f8 100644
--- a/client/glz_decoded_image.h
+++ b/client/glz_decoded_image.h
@@ -62,4 +62,3 @@ inline uint8_t* GlzDecodedImage::get_pixel_ref(int offset)
 }
 
 #endif
-
diff --git a/client/glz_decoder.cpp b/client/glz_decoder.cpp
index dea1a1b..e5dd0fa 100644
--- a/client/glz_decoder.cpp
+++ b/client/glz_decoder.cpp
@@ -299,4 +299,3 @@ void GlzDecoder::decode(uint8_t *data, SpicePalette *palette, void *opaque_usr_i
 
     _images_window.post_decode(decoded_image);
 }
-
diff --git a/client/glz_decoder.h b/client/glz_decoder.h
index 35b0a3e..a0352cc 100644
--- a/client/glz_decoder.h
+++ b/client/glz_decoder.h
@@ -82,4 +82,3 @@ private:
 };
 
 #endif // _H_GLZ_DECODER
-
diff --git a/client/glz_decoder_config.h b/client/glz_decoder_config.h
index 835e2a7..52fa52d 100644
--- a/client/glz_decoder_config.h
+++ b/client/glz_decoder_config.h
@@ -64,4 +64,3 @@ public:
 #define GLZ_DECODE_TO_RGB32
 
 #endif  //_H_GLZ_DECODER_CONFIG
-
diff --git a/client/glz_decoder_window.cpp b/client/glz_decoder_window.cpp
index 54fdbdc..51d44ab 100644
--- a/client/glz_decoder_window.cpp
+++ b/client/glz_decoder_window.cpp
@@ -327,4 +327,3 @@ inline int GlzDecoderWindow::calc_image_win_idx(uint64_t image_id)
 {
     return (int)((_head_idx + _n_images - 1 - (_tail_image_id - image_id)) % _images_capacity);
 }
-
diff --git a/client/glz_decoder_window.h b/client/glz_decoder_window.h
index e061c73..f89d18f 100644
--- a/client/glz_decoder_window.h
+++ b/client/glz_decoder_window.h
@@ -120,4 +120,3 @@ inline uint8_t *GlzDecoderWindow::get_ref_pixel(DecodedImageWinId decoded_image_
 }
 
 #endif // _H_GLZ_DECODER_WINDOW
-
diff --git a/client/gui/Makefile.am b/client/gui/Makefile.am
index e1204c9..81e4f88 100644
--- a/client/gui/Makefile.am
+++ b/client/gui/Makefile.am
@@ -18,4 +18,3 @@ EXTRA_DIST = \
 	taharez_look.scheme.c		\
 	taharez_look.tga.c		\
         $(NULL)
-
diff --git a/client/gui/gui.cpp b/client/gui/gui.cpp
index abfe111..6dd4cea 100644
--- a/client/gui/gui.cpp
+++ b/client/gui/gui.cpp
@@ -1412,4 +1412,3 @@ bool GUI::message_box(MessageType type, const char *text, const ButtonsList& but
     }
     return _dialog->message_box(type, text, buttons, _response_handler);
 }
-
diff --git a/client/gui/gui.h b/client/gui/gui.h
index 457c351..b93b42a 100644
--- a/client/gui/gui.h
+++ b/client/gui/gui.h
@@ -141,4 +141,3 @@ private:
 };
 
 #endif
-
diff --git a/client/gui/resource_provider.cpp b/client/gui/resource_provider.cpp
index b80ce09..3c0b897 100644
--- a/client/gui/resource_provider.cpp
+++ b/client/gui/resource_provider.cpp
@@ -146,4 +146,3 @@ const char* res_get_string(int id)
 
     return NULL;
 }
-
diff --git a/client/gui/resource_provider.h b/client/gui/resource_provider.h
index 6f59cb8..c0d319b 100644
--- a/client/gui/resource_provider.h
+++ b/client/gui/resource_provider.h
@@ -57,4 +57,3 @@ enum {
 const char* res_get_string(int id);
 
 #endif
-
diff --git a/client/gui/softrenderer.cpp b/client/gui/softrenderer.cpp
index 92a1c83..9f19e7b 100644
--- a/client/gui/softrenderer.cpp
+++ b/client/gui/softrenderer.cpp
@@ -388,4 +388,3 @@ uint SoftRenderer::getVertScreenDPI() const
 }
 
 }
-
diff --git a/client/gui/softrenderer.h b/client/gui/softrenderer.h
index f25f79e..b97f9d5 100644
--- a/client/gui/softrenderer.h
+++ b/client/gui/softrenderer.h
@@ -146,4 +146,3 @@ namespace CEGUI
 }
 
 #endif
-
diff --git a/client/gui/softtexture.cpp b/client/gui/softtexture.cpp
index b41dd65..d9ce9a0 100644
--- a/client/gui/softtexture.cpp
+++ b/client/gui/softtexture.cpp
@@ -137,4 +137,3 @@ void SoftTexture::loadFromMemory(const void* buffPtr, uint buffWidth,
 
 
 }
-
diff --git a/client/gui/softtexture.h b/client/gui/softtexture.h
index 65a4ece..668ca4f 100644
--- a/client/gui/softtexture.h
+++ b/client/gui/softtexture.h
@@ -56,4 +56,3 @@ namespace CEGUI
 }
 
 #endif
-
diff --git a/client/hot_keys.cpp b/client/hot_keys.cpp
index 65b1bc3..f98a4bb 100644
--- a/client/hot_keys.cpp
+++ b/client/hot_keys.cpp
@@ -147,4 +147,3 @@ void HotKeysParser::add_hotkey(const std::string& hotkey, const CommandsMap& com
     std::string keys = hotkey.substr(key_start + 1);
     parse_keys(command_id, keys);
 }
-
diff --git a/client/hot_keys.h b/client/hot_keys.h
index c7f50e4..e78390d 100644
--- a/client/hot_keys.h
+++ b/client/hot_keys.h
@@ -46,4 +46,3 @@ private:
 };
 
 #endif
-
diff --git a/client/icon.h b/client/icon.h
index 45980fd..35b0a9d 100644
--- a/client/icon.h
+++ b/client/icon.h
@@ -33,4 +33,3 @@ private:
 };
 
 #endif
-
diff --git a/client/inputs_channel.cpp b/client/inputs_channel.cpp
index 9e940d9..b6f0220 100644
--- a/client/inputs_channel.cpp
+++ b/client/inputs_channel.cpp
@@ -609,4 +609,3 @@ ChannelFactory& InputsChannel::Factory()
 {
     return factory;
 }
-
diff --git a/client/inputs_channel.h b/client/inputs_channel.h
index 254ed45..cff3f90 100644
--- a/client/inputs_channel.h
+++ b/client/inputs_channel.h
@@ -94,4 +94,3 @@ private:
 
 
 #endif
-
diff --git a/client/inputs_handler.h b/client/inputs_handler.h
index 6f9c373..060a4ad 100644
--- a/client/inputs_handler.h
+++ b/client/inputs_handler.h
@@ -40,4 +40,3 @@ public:
 };
 
 #endif
-
diff --git a/client/jpeg_decoder.h b/client/jpeg_decoder.h
index 34aa336..2573147 100644
--- a/client/jpeg_decoder.h
+++ b/client/jpeg_decoder.h
@@ -89,4 +89,3 @@ private:
     RGBToBGRXConverter _rgb2bgrx;
 };
 #endif
-
diff --git a/client/menu.h b/client/menu.h
index 6e3d2f1..280cf38 100644
--- a/client/menu.h
+++ b/client/menu.h
@@ -100,4 +100,3 @@ private:
 };
 
 #endif
-
diff --git a/client/monitor.h b/client/monitor.h
index ec31da4..b8d7c88 100644
--- a/client/monitor.h
+++ b/client/monitor.h
@@ -55,4 +55,3 @@ protected:
 };
 
 #endif
-
diff --git a/client/pixels_source.h b/client/pixels_source.h
index fac9c22..1f4d196 100644
--- a/client/pixels_source.h
+++ b/client/pixels_source.h
@@ -56,4 +56,3 @@ public:
 };
 
 #endif
-
diff --git a/client/platform.h b/client/platform.h
index a9a1715..2025ad9 100644
--- a/client/platform.h
+++ b/client/platform.h
@@ -201,4 +201,3 @@ public:
 };
 
 #endif
-
diff --git a/client/playback_channel.cpp b/client/playback_channel.cpp
index d3445e5..802a4d3 100644
--- a/client/playback_channel.cpp
+++ b/client/playback_channel.cpp
@@ -368,4 +368,3 @@ ChannelFactory& PlaybackChannel::Factory()
 {
     return factory;
 }
-
diff --git a/client/read_write_mutex.h b/client/read_write_mutex.h
index 72eb0fa..107474e 100644
--- a/client/read_write_mutex.h
+++ b/client/read_write_mutex.h
@@ -117,4 +117,3 @@ private:
 };
 
 #endif
-
diff --git a/client/record_channel.cpp b/client/record_channel.cpp
index 0476031..d9332c6 100644
--- a/client/record_channel.cpp
+++ b/client/record_channel.cpp
@@ -291,4 +291,3 @@ ChannelFactory& RecordChannel::Factory()
 {
     return factory;
 }
-
diff --git a/client/red_channel.cpp b/client/red_channel.cpp
index e8c058c..5523abd 100644
--- a/client/red_channel.cpp
+++ b/client/red_channel.cpp
@@ -885,4 +885,3 @@ void RedChannel::handle_wait_for_channels(RedPeer::InMessage* message)
     }
     _client.wait_for_channels(wait->wait_count, wait->wait_list);
 }
-
diff --git a/client/red_channel.h b/client/red_channel.h
index 8128626..a839021 100644
--- a/client/red_channel.h
+++ b/client/red_channel.h
@@ -350,4 +350,3 @@ void MessageHandlerImp<HandlerClass, channel_id>::set_handler(unsigned int id, H
 }
 
 #endif
-
diff --git a/client/red_client.cpp b/client/red_client.cpp
index f3da4c9..6b11e38 100644
--- a/client/red_client.cpp
+++ b/client/red_client.cpp
@@ -1407,4 +1407,3 @@ void RedClient::register_channel_factory(ChannelFactory& factory)
 {
     _factorys.push_back(&factory);
 }
-
diff --git a/client/red_client.h b/client/red_client.h
index f4cd46b..8872ce8 100644
--- a/client/red_client.h
+++ b/client/red_client.h
@@ -385,4 +385,3 @@ private:
 };
 
 #endif
-
diff --git a/client/red_drawable.h b/client/red_drawable.h
index 3fac164..660ff4e 100644
--- a/client/red_drawable.h
+++ b/client/red_drawable.h
@@ -120,4 +120,3 @@ public:
 };
 
 #endif
-
diff --git a/client/red_gdi_canvas.cpp b/client/red_gdi_canvas.cpp
index ed091af..a4a99f6 100644
--- a/client/red_gdi_canvas.cpp
+++ b/client/red_gdi_canvas.cpp
@@ -88,4 +88,3 @@ CanvasType GDICanvas::get_pixmap_type()
 {
     return CANVAS_TYPE_GDI;
 }
-
diff --git a/client/red_gdi_canvas.h b/client/red_gdi_canvas.h
index 67a2dba..fa173c4 100644
--- a/client/red_gdi_canvas.h
+++ b/client/red_gdi_canvas.h
@@ -53,4 +53,3 @@ private:
 };
 
 #endif
-
diff --git a/client/red_gl_canvas.cpp b/client/red_gl_canvas.cpp
index abe0855..59c8f06 100644
--- a/client/red_gl_canvas.cpp
+++ b/client/red_gl_canvas.cpp
@@ -118,4 +118,3 @@ void GCanvas::post_gl_copy()
 {
     _pixmap->past_copy();
 }
-
diff --git a/client/red_gl_canvas.h b/client/red_gl_canvas.h
index a8c901c..a57ea48 100644
--- a/client/red_gl_canvas.h
+++ b/client/red_gl_canvas.h
@@ -64,4 +64,3 @@ private:
 };
 
 #endif
-
diff --git a/client/red_key.h b/client/red_key.h
index b37234e..ea3396a 100644
--- a/client/red_key.h
+++ b/client/red_key.h
@@ -147,4 +147,3 @@ enum RedKey {
 };
 
 #endif
-
diff --git a/client/red_peer.h b/client/red_peer.h
index ce06143..5e2b2b9 100644
--- a/client/red_peer.h
+++ b/client/red_peer.h
@@ -206,4 +206,3 @@ protected:
 };
 
 #endif
-
diff --git a/client/red_pixmap.h b/client/red_pixmap.h
index 46e3657..240ed76 100644
--- a/client/red_pixmap.h
+++ b/client/red_pixmap.h
@@ -46,4 +46,3 @@ protected:
 };
 
 #endif
-
diff --git a/client/red_pixmap_gdi.h b/client/red_pixmap_gdi.h
index bccce84..828b76b 100644
--- a/client/red_pixmap_gdi.h
+++ b/client/red_pixmap_gdi.h
@@ -33,4 +33,3 @@ public:
 };
 
 #endif
-
diff --git a/client/red_pixmap_gl.h b/client/red_pixmap_gl.h
index f7a14af..88d14a1 100644
--- a/client/red_pixmap_gl.h
+++ b/client/red_pixmap_gl.h
@@ -47,4 +47,3 @@ private:
 };
 
 #endif
-
diff --git a/client/red_pixmap_sw.h b/client/red_pixmap_sw.h
index c606135..0c96a1f 100644
--- a/client/red_pixmap_sw.h
+++ b/client/red_pixmap_sw.h
@@ -28,4 +28,3 @@ public:
 };
 
 #endif
-
diff --git a/client/red_sw_canvas.cpp b/client/red_sw_canvas.cpp
index 860e2a5..5f86dca 100644
--- a/client/red_sw_canvas.cpp
+++ b/client/red_sw_canvas.cpp
@@ -106,4 +106,3 @@ CanvasType SCanvas::get_pixmap_type()
 {
     return CANVAS_TYPE_SW;
 }
-
diff --git a/client/red_sw_canvas.h b/client/red_sw_canvas.h
index 807c128..4736649 100644
--- a/client/red_sw_canvas.h
+++ b/client/red_sw_canvas.h
@@ -50,4 +50,3 @@ private:
 };
 
 #endif
-
diff --git a/client/red_types.h b/client/red_types.h
index a5a2fbb..d527339 100644
--- a/client/red_types.h
+++ b/client/red_types.h
@@ -35,4 +35,3 @@ struct IconHeader {
 class RedDrawable;
 
 #endif
-
diff --git a/client/red_window.h b/client/red_window.h
index 82353aa..dbd0c79 100644
--- a/client/red_window.h
+++ b/client/red_window.h
@@ -196,4 +196,3 @@ static bool find_anchor_point(const REGION& region, SpicePoint& pt)
 }
 
 #endif
-
diff --git a/client/screen.cpp b/client/screen.cpp
index dc33455..a05d562 100644
--- a/client/screen.cpp
+++ b/client/screen.cpp
@@ -939,4 +939,3 @@ void RedScreen::unset_type_gl()
     _window.unset_type_gl();
 }
 #endif // USE_OPENGL
-
diff --git a/client/screen.h b/client/screen.h
index 19efffb..d7bb4c2 100644
--- a/client/screen.h
+++ b/client/screen.h
@@ -208,4 +208,3 @@ private:
 };
 
 #endif
-
diff --git a/client/screen_layer.cpp b/client/screen_layer.cpp
index 02abef2..3638509 100644
--- a/client/screen_layer.cpp
+++ b/client/screen_layer.cpp
@@ -237,4 +237,3 @@ void ScreenLayer::detach_from_screen(Application& application)
     }
     ASSERT(!_screen);
 }
-
diff --git a/client/screen_layer.h b/client/screen_layer.h
index 70cd651..e8ad421 100644
--- a/client/screen_layer.h
+++ b/client/screen_layer.h
@@ -85,4 +85,3 @@ private:
 };
 
 #endif
-
diff --git a/client/shared_cache.hpp b/client/shared_cache.hpp
index a830854..b9c3fd9 100644
--- a/client/shared_cache.hpp
+++ b/client/shared_cache.hpp
@@ -221,4 +221,3 @@ private:
 };
 
 #endif
-
diff --git a/client/smartcard_channel.cpp b/client/smartcard_channel.cpp
index 11a6be0..09659c2 100644
--- a/client/smartcard_channel.cpp
+++ b/client/smartcard_channel.cpp
@@ -551,4 +551,3 @@ ChannelFactory& SmartCardChannel::Factory()
 {
     return factory;
 }
-
diff --git a/client/smartcard_channel.h b/client/smartcard_channel.h
index a84cbfd..0423bff 100644
--- a/client/smartcard_channel.h
+++ b/client/smartcard_channel.h
@@ -157,4 +157,3 @@ private:
 };
 
 #endif // __SMART_CARD_H__
-
diff --git a/client/threads.cpp b/client/threads.cpp
index 0b359e8..bf499e7 100644
--- a/client/threads.cpp
+++ b/client/threads.cpp
@@ -133,4 +133,3 @@ Mutex::~Mutex()
 {
     pthread_mutex_destroy(&_mutex);
 }
-
diff --git a/client/threads.h b/client/threads.h
index 8b5adb6..5bfd38b 100644
--- a/client/threads.h
+++ b/client/threads.h
@@ -132,4 +132,3 @@ private:
 
 
 #endif
-
diff --git a/client/utils.cpp b/client/utils.cpp
index 01ea0d3..6b195b3 100644
--- a/client/utils.cpp
+++ b/client/utils.cpp
@@ -42,4 +42,3 @@ int str_to_port(const char *str)
     }
     return port;
 }
-
diff --git a/client/utils.h b/client/utils.h
index 3b3cbb0..8f32008 100644
--- a/client/utils.h
+++ b/client/utils.h
@@ -148,4 +148,3 @@ class EmptyBase {
 };
 
 #endif
-
diff --git a/client/windows/atomic_count.h b/client/windows/atomic_count.h
index 0e49f7c..7520fca 100644
--- a/client/windows/atomic_count.h
+++ b/client/windows/atomic_count.h
@@ -39,4 +39,3 @@ private:
 };
 
 #endif
-
diff --git a/client/windows/event_sources_p.cpp b/client/windows/event_sources_p.cpp
index 4a9adf1..7703573 100644
--- a/client/windows/event_sources_p.cpp
+++ b/client/windows/event_sources_p.cpp
@@ -209,4 +209,3 @@ void EventSources::add_file(File& file)
 void EventSources::remove_file(File& file)
 {
 }
-
diff --git a/client/windows/event_sources_p.h b/client/windows/event_sources_p.h
index 1b20fa7..14cc816 100644
--- a/client/windows/event_sources_p.h
+++ b/client/windows/event_sources_p.h
@@ -49,4 +49,3 @@ class Trigger_p: public Handle_p {
 };
 
 #endif
-
diff --git a/client/windows/main.cpp b/client/windows/main.cpp
index 6204498..fa43176 100644
--- a/client/windows/main.cpp
+++ b/client/windows/main.cpp
@@ -100,4 +100,3 @@ int WINAPI WinMain(HINSTANCE hInstance,
 
     return exit_val;
 }
-
diff --git a/client/windows/my_getopt.cpp b/client/windows/my_getopt.cpp
index da87655..905b717 100644
--- a/client/windows/my_getopt.cpp
+++ b/client/windows/my_getopt.cpp
@@ -20,4 +20,3 @@
 
 #include "common.h"
 #include "../../common/win/my_getopt-1.5/my_getopt.c"
-
diff --git a/client/windows/named_pipe.cpp b/client/windows/named_pipe.cpp
index 76d77da..c813112 100644
--- a/client/windows/named_pipe.cpp
+++ b/client/windows/named_pipe.cpp
@@ -230,4 +230,3 @@ void WinListener::create_pipe()
         THROW("ConnectNamedPipe() failed %u", GetLastError());
     }
 }
-
diff --git a/client/windows/named_pipe.h b/client/windows/named_pipe.h
index 4b7cfe6..10d5ced 100644
--- a/client/windows/named_pipe.h
+++ b/client/windows/named_pipe.h
@@ -92,4 +92,3 @@ private:
 };
 
 #endif
-
diff --git a/client/windows/pixels_source.cpp b/client/windows/pixels_source.cpp
index 167255b..3ddf556 100644
--- a/client/windows/pixels_source.cpp
+++ b/client/windows/pixels_source.cpp
@@ -108,4 +108,3 @@ SpicePoint AlphaImageFromRes::get_size()
     Lock lock(*p_data->source_p._mutex);
     return get_bitmap_size(p_data->source_p.dc);
 }
-
diff --git a/client/windows/pixels_source_p.h b/client/windows/pixels_source_p.h
index b8f00fa..f06be0e 100644
--- a/client/windows/pixels_source_p.h
+++ b/client/windows/pixels_source_p.h
@@ -26,4 +26,3 @@ struct PixelsSource_p {
 };
 
 #endif
-
diff --git a/client/windows/platform_utils.cpp b/client/windows/platform_utils.cpp
index b57e921..157b1fb 100644
--- a/client/windows/platform_utils.cpp
+++ b/client/windows/platform_utils.cpp
@@ -148,4 +148,3 @@ int inet_aton(const char* ip, struct in_addr* in_addr)
     in_addr->S_un.S_addr = addr;
     return 1;
 }
-
diff --git a/client/windows/platform_utils.h b/client/windows/platform_utils.h
index 2f333f7..a652fed 100644
--- a/client/windows/platform_utils.h
+++ b/client/windows/platform_utils.h
@@ -98,4 +98,3 @@ const char* sys_err_to_str(int error);
 int inet_aton(const char* ip, struct in_addr* in_addr);
 
 #endif
-
diff --git a/client/windows/playback.cpp b/client/windows/playback.cpp
index 701dffc..41b92bc 100644
--- a/client/windows/playback.cpp
+++ b/client/windows/playback.cpp
@@ -176,4 +176,3 @@ uint32_t WavePlayer::get_delay_ms()
 {
     return _in_use * WavePlaybackAbstract::FRAME_SIZE / _sampels_per_ms;
 }
-
diff --git a/client/windows/playback.h b/client/windows/playback.h
index 8632808..6f70a7b 100644
--- a/client/windows/playback.h
+++ b/client/windows/playback.h
@@ -52,4 +52,3 @@ private:
 };
 
 #endif
-
diff --git a/client/windows/record.cpp b/client/windows/record.cpp
index f0bb644..0736b11 100644
--- a/client/windows/record.cpp
+++ b/client/windows/record.cpp
@@ -193,4 +193,3 @@ bool WaveRecorder::abort()
 {
     return true;
 }
-
diff --git a/client/windows/record.h b/client/windows/record.h
index 3739c22..4071af4 100644
--- a/client/windows/record.h
+++ b/client/windows/record.h
@@ -55,4 +55,3 @@ private:
 };
 
 #endif
-
diff --git a/client/windows/red_drawable.cpp b/client/windows/red_drawable.cpp
index dabc0d9..65c1aa6 100644
--- a/client/windows/red_drawable.cpp
+++ b/client/windows/red_drawable.cpp
@@ -151,4 +151,3 @@ void RedDrawable::frame_rect(const SpiceRect& rect, rgb32_t color)
     }
     DeleteObject(brush);
 }
-
diff --git a/client/windows/red_pixmap.cpp b/client/windows/red_pixmap.cpp
index 4538441..6685e41 100644
--- a/client/windows/red_pixmap.cpp
+++ b/client/windows/red_pixmap.cpp
@@ -42,4 +42,3 @@ bool RedPixmap::is_big_endian_bits()
 {
     return _format == RedDrawable::A1;
 }
-
diff --git a/client/windows/red_pixmap_gdi.cpp b/client/windows/red_pixmap_gdi.cpp
index 4336f46..34356ba 100644
--- a/client/windows/red_pixmap_gdi.cpp
+++ b/client/windows/red_pixmap_gdi.cpp
@@ -116,4 +116,3 @@ RecurciveMutex& RedPixmapGdi::get_mutex()
     RedPixmap_p* p_data = (RedPixmap_p*)get_opaque();
     return *p_data->pixels_source_p._mutex;
 }
-
diff --git a/client/windows/red_pixmap_sw.cpp b/client/windows/red_pixmap_sw.cpp
index 991b673..d66d047 100644
--- a/client/windows/red_pixmap_sw.cpp
+++ b/client/windows/red_pixmap_sw.cpp
@@ -115,4 +115,3 @@ RedPixmapSw::~RedPixmapSw()
         DeleteDC(dc);
     }
 }
-
diff --git a/client/windows/red_window_p.h b/client/windows/red_window_p.h
index 351d9b9..73d74e3 100644
--- a/client/windows/red_window_p.h
+++ b/client/windows/red_window_p.h
@@ -69,4 +69,3 @@ protected:
 };
 
 #endif
-
diff --git a/client/windows/stdint.h b/client/windows/stdint.h
index eaeb199..0e0ecd4 100644
--- a/client/windows/stdint.h
+++ b/client/windows/stdint.h
@@ -391,6 +391,3 @@ typedef unsigned long long   uintmax_t;
 
 
 #endif
-
-
-
diff --git a/client/windows/win_platform.h b/client/windows/win_platform.h
index eba3b03..c1a356c 100644
--- a/client/windows/win_platform.h
+++ b/client/windows/win_platform.h
@@ -37,4 +37,3 @@ private:
 };
 
 #endif
-
diff --git a/client/x11/.gitignore b/client/x11/.gitignore
index fbe6110..397a68f 100644
--- a/client/x11/.gitignore
+++ b/client/x11/.gitignore
@@ -7,4 +7,4 @@
 Makefile
 Makefile.in
 setup
-spicec
\ No newline at end of file
+spicec
diff --git a/client/x11/atomic_count.h b/client/x11/atomic_count.h
index db20ad9..02bb08d 100644
--- a/client/x11/atomic_count.h
+++ b/client/x11/atomic_count.h
@@ -41,4 +41,3 @@ private:
 };
 
 #endif
-
diff --git a/client/x11/event_sources_p.h b/client/x11/event_sources_p.h
index 959460c..4b826bb 100644
--- a/client/x11/event_sources_p.h
+++ b/client/x11/event_sources_p.h
@@ -52,4 +52,3 @@ class Handle_p {
 };
 
 #endif
-
diff --git a/client/x11/main.cpp b/client/x11/main.cpp
index ccc9532..f95b3a2 100644
--- a/client/x11/main.cpp
+++ b/client/x11/main.cpp
@@ -49,4 +49,3 @@ int main(int argc, char** argv)
 
     return exit_val;
 }
-
diff --git a/client/x11/named_pipe.cpp b/client/x11/named_pipe.cpp
index 0653bfc..84b980d 100644
--- a/client/x11/named_pipe.cpp
+++ b/client/x11/named_pipe.cpp
@@ -169,4 +169,3 @@ void LinuxListener::on_event()
         conn_interface.bind((NamedPipe::ConnectionRef)conn);
     }
 }
-
diff --git a/client/x11/named_pipe.h b/client/x11/named_pipe.h
index 5b0e7f6..379cbff 100644
--- a/client/x11/named_pipe.h
+++ b/client/x11/named_pipe.h
@@ -59,4 +59,3 @@ private:
 };
 
 #endif
-
diff --git a/client/x11/pixels_source.cpp b/client/x11/pixels_source.cpp
index 8d8b344..71ea9ff 100644
--- a/client/x11/pixels_source.cpp
+++ b/client/x11/pixels_source.cpp
@@ -106,4 +106,3 @@ SpicePoint AlphaImageFromRes::get_size()
     pt.y = pixman_image_get_height(image);
     return pt;
 }
-
diff --git a/client/x11/pixels_source_p.h b/client/x11/pixels_source_p.h
index 8892c58..000fe4d 100644
--- a/client/x11/pixels_source_p.h
+++ b/client/x11/pixels_source_p.h
@@ -89,4 +89,3 @@ struct RedDrawable_p {
 };
 
 #endif
-
diff --git a/client/x11/platform_utils.h b/client/x11/platform_utils.h
index d574e21..03a2489 100644
--- a/client/x11/platform_utils.h
+++ b/client/x11/platform_utils.h
@@ -36,4 +36,3 @@ typedef int SOCKET;
 #define sock_err_message(err) strerror(err)
 
 #endif
-
diff --git a/client/x11/playback.cpp b/client/x11/playback.cpp
index e69294c..5fa7e18 100644
--- a/client/x11/playback.cpp
+++ b/client/x11/playback.cpp
@@ -218,4 +218,3 @@ uint32_t WavePlayer::get_delay_ms()
     }
     return delay / _sampels_per_ms;
 }
-
diff --git a/client/x11/playback.h b/client/x11/playback.h
index d8efd7e..27ef9ed 100644
--- a/client/x11/playback.h
+++ b/client/x11/playback.h
@@ -45,4 +45,3 @@ private:
 };
 
 #endif
-
diff --git a/client/x11/record.cpp b/client/x11/record.cpp
index 017a94d..bd76cee 100644
--- a/client/x11/record.cpp
+++ b/client/x11/record.cpp
@@ -238,4 +238,3 @@ void WaveRecorder::on_event()
         }
     }
 }
-
diff --git a/client/x11/record.h b/client/x11/record.h
index fde58c7..9141096 100644
--- a/client/x11/record.h
+++ b/client/x11/record.h
@@ -57,4 +57,3 @@ private:
 };
 
 #endif
-
diff --git a/client/x11/red_drawable.cpp b/client/x11/red_drawable.cpp
index d6cce92..fd5d4a1 100644
--- a/client/x11/red_drawable.cpp
+++ b/client/x11/red_drawable.cpp
@@ -793,4 +793,3 @@ void RedDrawable::frame_rect(const SpiceRect& area, rgb32_t color)
         THROW("invalid dest type %d", dest->source.type);
     }
 }
-
diff --git a/client/x11/red_pixmap.cpp b/client/x11/red_pixmap.cpp
index 79190a0..af30f52 100644
--- a/client/x11/red_pixmap.cpp
+++ b/client/x11/red_pixmap.cpp
@@ -42,4 +42,3 @@ bool RedPixmap::is_big_endian_bits()
 {
     return false;
 }
-
diff --git a/client/x11/red_pixmap_gl.cpp b/client/x11/red_pixmap_gl.cpp
index 011ead9..1e1e6e0 100644
--- a/client/x11/red_pixmap_gl.cpp
+++ b/client/x11/red_pixmap_gl.cpp
@@ -309,4 +309,3 @@ RedPixmapGL::~RedPixmapGL()
      */
     GLC_ERROR_TEST_FINISH;
 }
-
diff --git a/client/x11/red_pixmap_sw.cpp b/client/x11/red_pixmap_sw.cpp
index a0dea4d..3fd8677 100644
--- a/client/x11/red_pixmap_sw.cpp
+++ b/client/x11/red_pixmap_sw.cpp
@@ -91,4 +91,3 @@ RedPixmapSw::~RedPixmapSw()
         delete[] _data;
     }
 }
-
diff --git a/client/x11/red_window.cpp b/client/x11/red_window.cpp
index 2d179f8..e0b7d45 100644
--- a/client/x11/red_window.cpp
+++ b/client/x11/red_window.cpp
@@ -2254,4 +2254,3 @@ void RedWindow::init()
 void RedWindow::cleanup()
 {
 }
-
diff --git a/client/x11/red_window_p.h b/client/x11/red_window_p.h
index 6f94d26..2782539 100644
--- a/client/x11/red_window_p.h
+++ b/client/x11/red_window_p.h
@@ -87,4 +87,3 @@ protected:
 };
 
 #endif
-
diff --git a/client/x11/res.cpp b/client/x11/res.cpp
index f73e540..efbd8de 100644
--- a/client/x11/res.cpp
+++ b/client/x11/res.cpp
@@ -80,4 +80,3 @@ const IconHeader *res_get_icon(int id)
     }
     return NULL;
 }
-
diff --git a/client/x11/res.h b/client/x11/res.h
index 7733772..8320e9b 100644
--- a/client/x11/res.h
+++ b/client/x11/res.h
@@ -22,4 +22,3 @@ const PixmapHeader *res_get_image(int id);
 const IconHeader *res_get_icon(int id);
 
 #endif
-
diff --git a/client/x11/resource.h b/client/x11/resource.h
index a0f18f3..562b9b9 100644
--- a/client/x11/resource.h
+++ b/client/x11/resource.h
@@ -22,4 +22,3 @@
 #define ALT_IMAGE_RES_ID 4
 
 #endif
-
diff --git a/client/x11/x_icon.cpp b/client/x11/x_icon.cpp
index 8931d05..edd983f 100644
--- a/client/x11/x_icon.cpp
+++ b/client/x11/x_icon.cpp
@@ -173,4 +173,3 @@ Icon* Platform::load_icon(int id)
     XIcon *xicon = new XIcon(id, icon);
     return xicon->ref();
 }
-
diff --git a/client/x11/x_icon.h b/client/x11/x_icon.h
index fc2bdbd..b8b5e96 100644
--- a/client/x11/x_icon.h
+++ b/client/x11/x_icon.h
@@ -50,4 +50,3 @@ private:
 };
 
 #endif
-
diff --git a/client/x11/x_platform.h b/client/x11/x_platform.h
index 24f73ac..39a2d1c 100644
--- a/client/x11/x_platform.h
+++ b/client/x11/x_platform.h
@@ -54,4 +54,3 @@ public:
 };
 
 #endif
-
diff --git a/common/Makefile.am b/common/Makefile.am
index f07f948..4189dc1 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -74,4 +74,3 @@ EXTRA_DIST =				\
 	quic_rgb_tmpl.c			\
 	quic_tmpl.c			\
 	$(NULL)
-
diff --git a/common/canvas_utils.c b/common/canvas_utils.c
index 71f6890..6632942 100644
--- a/common/canvas_utils.c
+++ b/common/canvas_utils.c
@@ -297,4 +297,3 @@ pixman_image_t *alloc_lz_image_surface(LzDecodeUsrData *canvas_data,
     canvas_data->out_surface = surface;
     return surface;
 }
-
diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c
index 5200cf9..8501189 100644
--- a/common/gdi_canvas.c
+++ b/common/gdi_canvas.c
@@ -1860,4 +1860,3 @@ void gdi_canvas_init(void) //unsafe global function
 
     rop3_init();
 }
-
diff --git a/common/glc.c b/common/glc.c
index 1c81dd8..1414bcf 100644
--- a/common/glc.c
+++ b/common/glc.c
@@ -1511,4 +1511,3 @@ void glc_destroy(GLCCtx glc, int textures_lost)
         8. support more image formats
         9. use GLCImage in mask ops?
 */
-
diff --git a/common/lz.c b/common/lz.c
index 85c974b..1d695a0 100644
--- a/common/lz.c
+++ b/common/lz.c
@@ -738,4 +738,3 @@ void lz_decode(LzContext *lz, LzImageType to_type, uint8_t *buf)
         encoder->usr->error(encoder->usr, "bad decode size\n");
     }
 }
-
diff --git a/common/lz_decompress_tmpl.c b/common/lz_decompress_tmpl.c
index b962fb6..46587ee 100644
--- a/common/lz_decompress_tmpl.c
+++ b/common/lz_decompress_tmpl.c
@@ -324,4 +324,3 @@ static size_t FNAME(decompress)(Encoder *encoder, OUT_PIXEL *out_buf, int size)
 #undef COPY_COMP_PIXEL
 #undef COPY_PLT_ENTRY
 #undef CAST_PLT_DISTANCE
-
diff --git a/common/ogl_ctx.c b/common/ogl_ctx.c
index 0917f42..41c0591 100644
--- a/common/ogl_ctx.c
+++ b/common/ogl_ctx.c
@@ -249,4 +249,3 @@ void oglctx_destroy(OGLCtx *ctx)
     XCloseDisplay(ctx->x_display);
     free(ctx);
 }
-
diff --git a/common/ogl_ctx.h b/common/ogl_ctx.h
index ae2ce7e..e7f677a 100644
--- a/common/ogl_ctx.h
+++ b/common/ogl_ctx.h
@@ -36,4 +36,3 @@ void oglctx_destroy(OGLCtx *ctx);
 #endif
 
 #endif
-
diff --git a/common/quic.c b/common/quic.c
index ca7ffd2..4666638 100644
--- a/common/quic.c
+++ b/common/quic.c
@@ -1697,4 +1697,3 @@ void quic_init(void)
     init_zeroLUT();
 #endif
 }
-
diff --git a/common/quic.h b/common/quic.h
index 6047da8..7ec94f5 100644
--- a/common/quic.h
+++ b/common/quic.h
@@ -70,4 +70,3 @@ void quic_init(void);
 #endif
 
 #endif
-
diff --git a/common/quic_config.h b/common/quic_config.h
index 2a87f20..13c71f1 100644
--- a/common/quic_config.h
+++ b/common/quic_config.h
@@ -46,4 +46,3 @@ extern "C" {
 #endif
 
 #endif
-
diff --git a/common/quic_family_tmpl.c b/common/quic_family_tmpl.c
index fbefe89..bfba0cc 100644
--- a/common/quic_family_tmpl.c
+++ b/common/quic_family_tmpl.c
@@ -115,4 +115,3 @@ static s_bucket *FNAME(find_bucket)(Channel *channel, const unsigned int val)
 #undef FNAME
 #undef VNAME
 #undef BPC
-
diff --git a/common/quic_rgb_tmpl.c b/common/quic_rgb_tmpl.c
index 814fa5a..8f35679 100644
--- a/common/quic_rgb_tmpl.c
+++ b/common/quic_rgb_tmpl.c
@@ -763,4 +763,3 @@ static void FNAME(uncompress_row)(Encoder *encoder,
 #undef SET_b
 #undef GET_b
 #undef UNCOMPRESS_PIX_START
-
diff --git a/common/quic_tmpl.c b/common/quic_tmpl.c
index d300fa9..6acd504 100644
--- a/common/quic_tmpl.c
+++ b/common/quic_tmpl.c
@@ -633,4 +633,3 @@ static void FNAME(uncompress_row)(Encoder *encoder, Channel *channel,
 #undef family
 #undef BPC
 #undef BPC_MASK
-
diff --git a/common/rect.h b/common/rect.h
index 360cb9d..ef265cd 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -120,4 +120,3 @@ static inline int rect_is_same_size(const SpiceRect& r1, const SpiceRect& r2)
 #endif
 
 #endif
-
diff --git a/common/region.c b/common/region.c
index 10a6e62..35935ea 100644
--- a/common/region.c
+++ b/common/region.c
@@ -888,4 +888,3 @@ int main(void)
 }
 
 #endif
-
diff --git a/common/region.h b/common/region.h
index 16ec6eb..954e06f 100644
--- a/common/region.h
+++ b/common/region.h
@@ -68,4 +68,3 @@ void region_dump(const QRegion *rgn, const char *prefix);
 #endif
 
 #endif
-
diff --git a/common/ring.h b/common/ring.h
index 304bc9a..cb70696 100644
--- a/common/ring.h
+++ b/common/ring.h
@@ -170,4 +170,3 @@ static inline unsigned int ring_get_length(Ring *ring)
 #endif
 
 #endif
-
diff --git a/common/rop3.h b/common/rop3.h
index 3307649..91c9207 100644
--- a/common/rop3.h
+++ b/common/rop3.h
@@ -40,4 +40,3 @@ void rop3_init(void);
 #endif
 
 #endif
-
diff --git a/python_modules/Makefile.am b/python_modules/Makefile.am
index f304ec0..7d416df 100644
--- a/python_modules/Makefile.am
+++ b/python_modules/Makefile.am
@@ -3,4 +3,3 @@ NULL =
 PYTHON_MODULES = __init__.py codegen.py demarshal.py marshal.py ptypes.py spice_parser.py
 
 EXTRA_DIST = $(PYTHON_MODULES)
-
diff --git a/python_modules/spice_parser.py b/python_modules/spice_parser.py
index e20e8fc..d0aabb0 100644
--- a/python_modules/spice_parser.py
+++ b/python_modules/spice_parser.py
@@ -159,4 +159,3 @@ def parse(filename):
         t.register()
     protocol = types[-1]
     return protocol
-
diff --git a/server/demarshallers.h b/server/demarshallers.h
index 38e4e15..c3d770d 100644
--- a/server/demarshallers.h
+++ b/server/demarshallers.h
@@ -24,4 +24,3 @@ typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t
 spice_parse_channel_func_t spice_get_client_channel_parser(uint32_t channel, unsigned int *max_message_type);
 
 #endif
-
diff --git a/server/glz_encode_tmpl.c b/server/glz_encode_tmpl.c
index d514421..41edb1b 100644
--- a/server/glz_encode_tmpl.c
+++ b/server/glz_encode_tmpl.c
@@ -572,4 +572,3 @@ static void FNAME(compress)(Encoder *encoder)
 #undef LZ_RGB32
 #undef MIN_REF_ENCODE_SIZE
 #undef MAX_REF_ENCODE_SIZE
-
diff --git a/server/glz_encoder.c b/server/glz_encoder.c
index 8d20807..1ec1f9b 100644
--- a/server/glz_encoder.c
+++ b/server/glz_encoder.c
@@ -308,4 +308,3 @@ int glz_encode(GlzEncoderContext *opaque_encoder,
 
     return encoder->io.bytes_count;
 }
-
diff --git a/server/glz_encoder.h b/server/glz_encoder.h
index 6c4d2b3..9b4f910 100644
--- a/server/glz_encoder.h
+++ b/server/glz_encoder.h
@@ -53,4 +53,3 @@ int glz_encode(GlzEncoderContext *opaque_encoder, LzImageType type, int width, i
 
 
 #endif // _H_GLZ_ENCODER
-
diff --git a/server/glz_encoder_config.h b/server/glz_encoder_config.h
index 791d4fc..2d1626a 100644
--- a/server/glz_encoder_config.h
+++ b/server/glz_encoder_config.h
@@ -59,4 +59,3 @@ struct GlzEncoderUsrContext {
 
 
 #endif
-
diff --git a/server/glz_encoder_dictionary.c b/server/glz_encoder_dictionary.c
index 7cadc49..efe6cb8 100644
--- a/server/glz_encoder_dictionary.c
+++ b/server/glz_encoder_dictionary.c
@@ -631,4 +631,3 @@ void glz_dictionary_post_encode(uint32_t encoder_id, GlzEncoderUsrContext *usr,
     dict->window.encoders_heads[encoder_id] = NULL_IMAGE_SEG_ID;
     pthread_mutex_unlock(&dict->lock);
 }
-
diff --git a/server/glz_encoder_dictionary.h b/server/glz_encoder_dictionary.h
index a85db6e..eb57aa5 100644
--- a/server/glz_encoder_dictionary.h
+++ b/server/glz_encoder_dictionary.h
@@ -67,4 +67,3 @@ void glz_enc_dictionary_remove_image(GlzEncDictContext *opaque_dict,
                                      GlzEncDictImageContext *image, GlzEncoderUsrContext *usr);
 
 #endif // _H_GLZ_ENCODER_DICTIONARY
-
diff --git a/server/glz_encoder_dictionary_protected.h b/server/glz_encoder_dictionary_protected.h
index a594c5f..ae7fdc2 100644
--- a/server/glz_encoder_dictionary_protected.h
+++ b/server/glz_encoder_dictionary_protected.h
@@ -184,4 +184,3 @@ void glz_dictionary_post_encode(uint32_t encoder_id, GlzEncoderUsrContext *usr,
         ref_seg->pixels_so_far)))
 
 #endif // _H_GLZ_ENCODER_DICTIONARY_PROTECTED
-
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 0fa4162..deb0838 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -566,4 +566,3 @@ void inputs_init(void)
         red_error("key modifiers timer create failed");
     }
 }
-
diff --git a/server/inputs_channel.h b/server/inputs_channel.h
index 39d244b..672ca83 100644
--- a/server/inputs_channel.h
+++ b/server/inputs_channel.h
@@ -36,4 +36,3 @@ void inputs_detach_tablet(SpiceTabletInstance *_tablet);
 void inputs_set_tablet_logical_size(int x_res, int y_res);
 
 #endif
-
diff --git a/server/main_channel.c b/server/main_channel.c
index 4b5b669..db3ca03 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -1109,4 +1109,3 @@ int main_channel_migrate_complete(MainChannel *main_chan, int success)
    }
    return semi_seamless_count;
 }
-
diff --git a/server/red_bitmap_utils.h b/server/red_bitmap_utils.h
index 1f26eb4..6d508a7 100644
--- a/server/red_bitmap_utils.h
+++ b/server/red_bitmap_utils.h
@@ -159,4 +159,3 @@ static void FNAME(compute_lines_gradual_score)(PIXEL *lines, int width, int num_
 #undef CONTRAST_TH
 #undef SAME_PIXEL_WEIGHT
 #undef NOT_CONTRAST_PIXELS_WEIGHT
-
diff --git a/server/red_common.h b/server/red_common.h
index 494ffed..86be95d 100644
--- a/server/red_common.h
+++ b/server/red_common.h
@@ -35,4 +35,3 @@ enum {
 };
 
 #endif
-
diff --git a/server/red_parse_qxl.c b/server/red_parse_qxl.c
index 256e8e9..201e683 100644
--- a/server/red_parse_qxl.c
+++ b/server/red_parse_qxl.c
@@ -1110,4 +1110,3 @@ void red_put_cursor_cmd(RedCursorCmd *red)
         break;
     }
 }
-
diff --git a/server/red_tunnel_worker.c b/server/red_tunnel_worker.c
index a95a900..a713aa5 100644
--- a/server/red_tunnel_worker.c
+++ b/server/red_tunnel_worker.c
@@ -3504,4 +3504,3 @@ static void red_tunnel_channel_create(TunnelWorker *worker)
     red_channel_set_data(channel, worker);
     reds_register_channel(worker->channel);
 }
-
diff --git a/server/red_worker.h b/server/red_worker.h
index 08c7b22..1f63d01 100644
--- a/server/red_worker.h
+++ b/server/red_worker.h
@@ -165,4 +165,3 @@ static inline void read_message(int fd, RedWorkerMessage *message)
 }
 
 #endif
-
diff --git a/server/reds.h b/server/reds.h
index 450825d..2a4e351 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -149,4 +149,3 @@ void reds_on_main_receive_migrate_data(MainMigrateData *data, uint8_t *end);
 void reds_on_main_mouse_mode_request(void *message, size_t size);
 void reds_on_client_migrate_complete(RedClient *client);
 #endif
-
diff --git a/server/smartcard.h b/server/smartcard.h
index e7fa457..60cc2c6 100644
--- a/server/smartcard.h
+++ b/server/smartcard.h
@@ -30,4 +30,3 @@ int smartcard_device_connect(SpiceCharDeviceInstance *char_device);
 void smartcard_device_disconnect(SpiceCharDeviceInstance *char_device);
 
 #endif // __SMART_CARD_H__
-
diff --git a/server/snd_worker.c b/server/snd_worker.c
index 048da34..e576586 100644
--- a/server/snd_worker.c
+++ b/server/snd_worker.c
@@ -1539,4 +1539,3 @@ int snd_get_playback_compression(void)
 {
     return (playback_compression == SPICE_AUDIO_DATA_MODE_RAW) ? FALSE : TRUE;
 }
-
diff --git a/server/snd_worker.h b/server/snd_worker.h
index 7659cb2..1811a61 100644
--- a/server/snd_worker.h
+++ b/server/snd_worker.h
@@ -30,4 +30,3 @@ void snd_set_playback_compression(int on);
 int snd_get_playback_compression(void);
 
 #endif
-
diff --git a/server/spice-experimental.h b/server/spice-experimental.h
index 6997aa0..f16d555 100644
--- a/server/spice-experimental.h
+++ b/server/spice-experimental.h
@@ -38,4 +38,3 @@ enum {
 int spice_server_migrate_client_state(SpiceServer *s);
 
 #endif // __SPICE_EXPERIMENTAL_H__
-
diff --git a/server/stat.h b/server/stat.h
index bdafd91..d5c1878 100644
--- a/server/stat.h
+++ b/server/stat.h
@@ -45,4 +45,3 @@ void stat_remove_counter(uint64_t *counter);
 #endif
 
 #endif
-
diff --git a/server/tests/README b/server/tests/README
index 477ca0c..8818830 100644
--- a/server/tests/README
+++ b/server/tests/README
@@ -21,4 +21,3 @@ test_fail_on_null_core_interface
 
 basic_event_loop.c
  used by test_just_sockets_no_ssl, can be used by other tests. very crude event loop. Should probably use libevent for better tests, but this is self contained.
-
diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c
index e0cc06e..41795f1 100644
--- a/server/tests/basic_event_loop.c
+++ b/server/tests/basic_event_loop.c
@@ -281,4 +281,3 @@ SpiceCoreInterface *basic_event_loop_init(void)
     ignore_sigpipe();
     return &core;
 }
-
diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c
index 579ef1e..b31e6fb 100644
--- a/server/tests/test_display_base.c
+++ b/server/tests/test_display_base.c
@@ -574,4 +574,3 @@ SpiceServer* test_init(SpiceCoreInterface *core)
     wakeup_timer = core->timer_add(do_wakeup, NULL);
     return server;
 }
-
diff --git a/server/tests/test_display_no_ssl.c b/server/tests/test_display_no_ssl.c
index 1eb83b3..3877c8d 100644
--- a/server/tests/test_display_no_ssl.c
+++ b/server/tests/test_display_no_ssl.c
@@ -50,4 +50,3 @@ int main(void)
 
     return 0;
 }
-
diff --git a/server/tests/test_display_streaming.c b/server/tests/test_display_streaming.c
index b402525..e7d5156 100644
--- a/server/tests/test_display_streaming.c
+++ b/server/tests/test_display_streaming.c
@@ -24,4 +24,3 @@ int main(void)
     basic_event_loop_mainloop();
     return 0;
 }
-
diff --git a/server/tests/test_empty_success.c b/server/tests/test_empty_success.c
index 3641eb7..a4f49c7 100644
--- a/server/tests/test_empty_success.c
+++ b/server/tests/test_empty_success.c
@@ -57,4 +57,3 @@ int main(void)
 
     return 0;
 }
-
diff --git a/server/tests/test_fail_on_null_core_interface.c b/server/tests/test_fail_on_null_core_interface.c
index 6490a6a..105dd63 100644
--- a/server/tests/test_fail_on_null_core_interface.c
+++ b/server/tests/test_fail_on_null_core_interface.c
@@ -10,4 +10,3 @@ int main(void)
 
     return 0;
 }
-
diff --git a/server/tests/test_just_sockets_no_ssl.c b/server/tests/test_just_sockets_no_ssl.c
index afa3558..e105b1c 100644
--- a/server/tests/test_just_sockets_no_ssl.c
+++ b/server/tests/test_just_sockets_no_ssl.c
@@ -16,4 +16,3 @@ int main(void)
 
     return 0;
 }
-
diff --git a/tools/bitmap_to_c.c b/tools/bitmap_to_c.c
index cafcc59..7e9b303 100644
--- a/tools/bitmap_to_c.c
+++ b/tools/bitmap_to_c.c
@@ -392,4 +392,3 @@ int main(int argc, char **argv)
     }
     return pixmap_to_c_struct(pixmap, dest, struct_name, alpha_convertion);
 }
-
diff --git a/tools/icon_to_c.c b/tools/icon_to_c.c
index 8a88fff..0957c2b 100644
--- a/tools/icon_to_c.c
+++ b/tools/icon_to_c.c
@@ -374,4 +374,3 @@ int main(int argc, char **argv)
 
     return icon_to_c_struct(icon, dest, struct_name);
 }
-
diff --git a/tools/reds_stat.c b/tools/reds_stat.c
index 09b0d09..3ff13c8 100644
--- a/tools/reds_stat.c
+++ b/tools/reds_stat.c
@@ -129,4 +129,3 @@ error1:
     free(shm_name);
     return ret;
 }
-
-- 
1.7.7.5



More information about the Spice-devel mailing list