opnsense-ports/textproc/libtextcat/files/patch-src_fingerprint.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
496 B
C

--- ./src/fingerprint.h.orig 2003-05-19 14:16:31.000000000 +0200
+++ ./src/fingerprint.h 2010-12-21 16:18:55.000000000 +0100
@@ -41,7 +41,13 @@
extern int fp_Read( void *handle, const char *fname, int maxngrams );
extern sint4 fp_Compare( void *cat, void *unknown, int cutoff );
extern void fp_Show( void *handle );
+#ifdef __cplusplus
+extern "C" {
+#endif
extern const char *fp_Name( void *handle );
+#ifdef __cplusplus
+}
+#endif
extern void fp_Print( void *handle, FILE *fp );
#endif