From: jongfoster Date: Sun, 29 Jul 2001 18:52:06 +0000 (+0000) Subject: Renaming _PCRS_H, and adding "extern C {}" X-Git-Tag: v_2_9_9~187 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=5b35453b1f37ce1059d8b99c9a64b2d123fdbfe9;hp=c159d0b30db8d8c737cff8e0a639a8679e40b790 Renaming _PCRS_H, and adding "extern C {}" --- diff --git a/pcrs.h b/pcrs.h index 23e99e92..31fb8871 100644 --- a/pcrs.h +++ b/pcrs.h @@ -1,5 +1,5 @@ -#ifndef _PCRS_H -#define _PCRS_H +#ifndef PCRS_H_INCLUDED +#define PCRS_H_INCLUDED /********************************************************************* * @@ -26,6 +26,9 @@ * * Revisions : * $Log: pcrs.h,v $ + * Revision 1.5 2001/07/18 17:27:00 oes + * Changed interface; Cosmetics + * * Revision 1.4 2001/06/29 13:33:19 oes * - Cleaned up, commented and adapted to reflect the * changes in pcrs.c @@ -54,11 +57,15 @@ * *********************************************************************/ -#define PCRS_H_VERSION "$Id: pcrs.h,v 1.4 2001/06/29 13:33:19 oes Exp $" +#define PCRS_H_VERSION "$Id: pcrs.h,v 1.5 2001/07/18 17:27:00 oes Exp $" #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Constants: */ @@ -128,7 +135,11 @@ extern void pcrs_free_joblist(pcrs_job *joblist); extern int pcrs_compile_perl_options(char *optstring, int *flags); extern pcrs_substitute *pcrs_compile_replacement(char *replacement, int trivialflag, int *errptr); -#endif /* ndef _PCRS_H */ +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* ndef PCRS_H_INCLUDED */ /* Local Variables: