[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [virt-viewer][PATCH 1/2 v2] Sanitize syntax-check



make syntax-check is producing some errors about empty line at EOF
and missing #include <config.h> in src/virt-viewer-file.c

* src/virt-viewer-file.c: add #include <config.h>
* data/virt-viewer-debug.nsis.in: remove empty line at EOF
---
 data/virt-viewer-debug.nsis.in |    1 -
 src/virt-viewer-file.c         |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/data/virt-viewer-debug.nsis.in b/data/virt-viewer-debug.nsis.in
index 8d8d499..103b080 100644
--- a/data/virt-viewer-debug.nsis.in
+++ b/data/virt-viewer-debug.nsis.in
@@ -47,4 +47,3 @@ SectionEnd
 Section -post
   WriteUninstaller "$INSTDIR\Uninstall-debug.exe"
 SectionEnd
-
diff --git a/src/virt-viewer-file.c b/src/virt-viewer-file.c
index 5c82c09..d98a0a2 100644
--- a/src/virt-viewer-file.c
+++ b/src/virt-viewer-file.c
@@ -19,6 +19,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
  */
 
+#include <config.h>
 #include "virt-viewer-util.h"
 #include "virt-viewer-file.h"
 
-- 
1.7.8.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]