Commit 385954eb authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

nearpt3c.h: removed extern C.

parent d7d4cde7
......@@ -15,11 +15,11 @@
GNU General Public License for more details.
*/
#ifndef _COMPARE_H
#define _COMPARE_H
#ifndef COMPARE_H
#define COMPARE_H
#if defined(HAVE_CONFIG_H)
# include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <math.h>
......@@ -52,4 +52,4 @@
#define STR_IS_EQ(x,y) ((*x)==(*y) && strcmp(x,y) == 0)
#endif /* _COMPARE_H */
#endif /* COMPARE_H */
......@@ -6,12 +6,6 @@ typedef float Coord_T;
#define NPT3SFACT 32000
#define NPT3SCALE(x) (0.5+(x+1)*NPT3SFACT)
#if defined(__cplusplus)
extern "C" {
#endif
void *nearpt3_preprocess(const int nfixpts, Coord_T **pts);
int nearpt3_query(void *g, const Coord_T *q);
void nearpt3_destroy(void *g);
#if defined(__cplusplus)
}
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment