From b21458e2ca0934398bdf755183d76c55674b796c Mon Sep 17 00:00:00 2001 From: kazer_ Date: Mon, 5 Nov 2007 16:15:26 +0000 Subject: [PATCH] Made country.h C++ compliant git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@528 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/src/country.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/navit/src/country.h b/navit/src/country.h index 68fe696..edc9635 100644 --- a/navit/src/country.h +++ b/navit/src/country.h @@ -1,12 +1,20 @@ #ifndef NAVIT_COUNTRY_H #define NAVIT_COUNTRY_H +#ifdef __cplusplus +extern "C" { +#endif + /* prototypes */ struct attr; struct country_search; struct item; struct country_search *country_search_new(struct attr *search, int partial); -struct item *country_search_get_item(struct country_search *this); -void country_search_destroy(struct country_search *this); +struct item *country_search_get_item(struct country_search *this_); +void country_search_destroy(struct country_search *this_); + +#ifdef __cplusplus +} +#endif #endif -- 2.7.4