[X2Go-Commits] [x2goclient] 01/01: src/version.h: add include guard.

git-admin at x2go.org git-admin at x2go.org
Wed Apr 22 06:56:59 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/help-cmd
in repository x2goclient.

commit 3cba55551d29187c22c985e56f53ffdabcd3567c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Apr 22 06:56:30 2015 +0200

    src/version.h: add include guard.
---
 debian/changelog |    1 +
 src/version.h    |    5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 14a7787..6c25c06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -257,6 +257,7 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low
       were not correctly updated. Fixes: #828.
     - onmainwindow.cpp: quote commands for generating pulse-client.conf
       correctly, add more quotes and use absolute file path for pulse cookie.
+    - version.h: add include guard.
 
   [ Fernando Pedemonte ]
   * New upstream release (4.0.4.0):
diff --git a/src/version.h b/src/version.h
index 114561b..9af7acd 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1,6 +1,7 @@
 /**************************************************************************
 *   Copyright (C) 2005-2015 by Oleksandr Shneyder                         *
 *   o.shneyder at phoca-gmbh.de                                              *
+*   Copyright (C) 2015 by Mihai Moldovan <ionic at ionic.de>                 *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
@@ -15,5 +16,9 @@
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
 ***************************************************************************/
 
+#ifndef VERSION_H
+#define VERSION_H
+
 #define VERSION "4.0.4.0"
 
+#endif /* !defined (VERSION_H) */

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list