Added forward declaration for struct GncGUID

I also removed the guid.hpp include where I could.
This commit is contained in:
lmat 2016-06-12 15:47:49 -04:00
parent 3877c03ee7
commit e1e85cee16
101 changed files with 3 additions and 101 deletions

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
* Boston, MA 02110-1301, USA gnu@gnu.org *
********************************************************************/
#include <guid.hpp>
#include <kvp_frame.hpp>
#include <gmp.h>
extern "C"

View File

@ -18,7 +18,6 @@
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -18,7 +18,6 @@
* *
\********************************************************************/
#include <guid.hpp>
#include <libguile.h>
extern "C"

View File

@ -18,7 +18,6 @@
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -25,7 +25,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL db using libdbi
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -24,7 +24,6 @@
* *
\********************************************************************/
#include <guid.hpp>
#include <kvp_frame.hpp>
extern "C"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include <config.h>

View File

@ -27,7 +27,6 @@
* FUNCTION:
* Escapes the ' and \ characters in a string
*/
#include <guid.hpp>
#include "config.h"
#include <glib.h>

View File

@ -27,7 +27,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL database
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -25,7 +25,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL db
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -27,7 +27,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL database
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -27,7 +27,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL database
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -27,7 +27,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL database
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -27,7 +27,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL database
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -25,7 +25,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL db
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -25,7 +25,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL db
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -25,7 +25,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL db
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -27,7 +27,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an SQL database
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -23,7 +23,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
* Boston, MA 02110-1301, USA gnu@gnu.org *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -27,7 +27,6 @@
* This file implements the top-level QofBackend API for saving/
* restoring data to/from an ordinary Unix filesystem file.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* *
*******************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
*******************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
*******************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
*******************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -18,7 +18,6 @@
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
* Boston, MA 02110-1301, USA gnu@gnu.org *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#define __EXTENSIONS__

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -17,7 +17,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
#include <kvp_frame.hpp>
extern "C"

View File

@ -1,4 +1,3 @@
#include <guid.hpp>
#include <kvp_frame.hpp>
extern "C"

View File

@ -24,7 +24,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -25,7 +25,6 @@
/* @file test-load-xml2.c
* @brief test the loading of a version-2 gnucash XML file
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -17,7 +17,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -17,7 +17,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -17,7 +17,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -17,7 +17,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include <config.h>

View File

@ -24,7 +24,6 @@
* @brief Minimal test of reading/writing account parameters
* @author David Hampton <hampton@employees.org>
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -24,7 +24,6 @@
* @brief Minimal test to see if automatic lot scrubbing works.
* @author Linas Vepstas <linas@linas.org>
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -20,7 +20,6 @@
#include <libguile.h>
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -19,7 +19,6 @@
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
* Boston, MA 02110-1301, USA gnu@gnu.org *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
* Boston, MA 02110-1301, USA gnu@gnu.org *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
* Boston, MA 02110-1301, USA gnu@gnu.org *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include <config.h>

View File

@ -25,7 +25,6 @@
/** Class for managing AQBanking Transaction Templates.
*/
#include "guid.hpp"
#include <string>
extern "C"

View File

@ -24,7 +24,6 @@
* *
\********************************************************************/
#include <guid.hpp>
#define __EXTENSIONS__
extern "C"
{

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
\********************************************************************/
#include <guid.hpp>
#include "gnc-timezone.hpp"
#include <string>

View File

@ -65,7 +65,9 @@ extern "C"
* the object can be persisted), and a different one when compiling for C++
* found in guid.hpp
*/
#ifndef __cplusplus
#ifdef __cplusplus
struct GncGUID;
#else
/** The type used to store guids in C */
typedef struct _gncGuid {
unsigned char reserved[GUID_DATA_SIZE];

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
#include "kvp-value.hpp"
#include "kvp_frame.hpp"

View File

@ -22,7 +22,6 @@
* *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -26,7 +26,6 @@
* Author: Phil Longstaff (phil.longstaff@yahoo.ca) *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{

View File

@ -33,7 +33,6 @@
* Copyright (c) 2007 David Hampton <hampton@employees.org>
*/
#include <guid.hpp>
extern "C"
{

View File

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <guid.hpp>
extern "C"
{

View File

@ -20,7 +20,6 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{

View File

@ -22,7 +22,6 @@
* *
********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -22,7 +22,6 @@
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -25,7 +25,6 @@
* 02110-1301, USA
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -23,7 +23,6 @@
* Copyright (C) 2001 Derek Atkins
* Author: Derek Atkins <warlord@MIT.EDU>
*/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -21,7 +21,6 @@
* *
\********************************************************************/
#include <guid.hpp>
extern "C"
{
#include "config.h"

View File

@ -32,7 +32,6 @@
@author Copyright (c) 2016 Aaron Laws
*/
#include "guid.hpp"
extern "C"
{

Some files were not shown because too many files have changed in this diff Show More