OSSP CVS Repository

ossp - Check-in [232]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 232
Date: 2000-Dec-14 18:27:27 (local)
2000-Dec-14 17:27:27 (UTC)
User:simons
Branch:
Comment: Wrapped the header's contents in "extern C" linkage when compiling in a C++ module.
Tickets:
Inspections:
Files:
ossp-pkg/petidomo/libtext/text.h      1.3 -> 1.4     10 inserted, 2 deleted

ossp-pkg/petidomo/libtext/text.h 1.3 -> 1.4

--- text.h       2000/12/13 17:37:56     1.3
+++ text.h       2000/12/15 17:27:27     1.4
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/libtext/text.h,v $
-   $Revision: 1.3 $
+   $Revision: 1.4 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -25,6 +25,10 @@
 #ifndef __LIB_TEXT_H__
 #define __LIB_TEXT_H__ 1
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
@@ -65,4 +69,8 @@
 char *   text_find_next_line(char *);
 char *   text_find_string(char * buffer, char * string);
 
+#ifdef __cplusplus
+}   // end extern "C"
+#endif
+
 #endif /* !__LIB_TEXT_H__ */

CVSTrac 2.0.1