Cutecash: Fix extern "C" usage: Must not enclose system includes, supposedly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18844 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-03-05 20:31:51 +00:00
parent 57f38d14ea
commit c6e43486f8
3 changed files with 5 additions and 5 deletions

View File

@ -25,9 +25,9 @@
// gnucash includes
#include "config.h" // required by qof/qofutil.h
#include <glib/gi18n.h>
extern "C"
{
#include <glib/gi18n.h>
#include "qof.h"
#include "engine/gnc-hooks.h"
}

View File

@ -23,14 +23,14 @@
*/
#include "config.h"
extern "C"
{
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libguile.h>
#include <glib/gi18n.h>
#include <glib.h>
extern "C"
{
#include "gnc-module/gnc-module.h"
#include "core-utils/gnc-path.h"
#include "core-utils/binreloc.h"
@ -48,12 +48,12 @@ extern "C"
#include "backend/xml/gnc-backend-xml.h"
#include "business/business-core/gncBusiness.h"
#include "business/business-core/xml/gncmod-business-backend-xml.h"
} // END extern C
#ifdef HAVE_GETTEXT
# include <libintl.h>
# include <locale.h>
#endif
} // END extern C
#include <QApplication>
#include "mainwindow.hpp"

View File

@ -31,9 +31,9 @@
#include "ui_mainwindow.h"
// gnucash includes
#include <glib/gi18n.h>
extern "C"
{
#include <glib/gi18n.h>
#include "qof.h"
#include "engine/gnc-hooks.h"
#include "core-utils/gnc-filepath-utils.h"