2012-03-01 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Thu, 1 Mar 2012 21:09:55 +0000 (21:09 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 1 Mar 2012 21:09:55 +0000 (21:09 +0000)
* jit-reader.in (plugin_is_GPL_compatible): Add declarations for
both __cplusplus and !__cplusplus.

gdb/ChangeLog
gdb/jit-reader.in

index 9bdad8eabf721826527c7b495281393c5cfdf727..97c1fda69cbcafc957987a88d7153e7cf47e15a4 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-01  Pedro Alves  <palves@redhat.com>
+
+       * jit-reader.in (plugin_is_GPL_compatible): Add declarations for
+       both __cplusplus and !__cplusplus.
+
 2012-03-01  Pedro Alves  <palves@redhat.com>
 
        * psymtab.c (find_and_open_source): Delete declaration.
index ccc68e4927796605edebceccd84f740de19d2bd9..42c28b52ce07de3cc09c1e4f0994f06ad6b6c42d 100644 (file)
@@ -36,6 +36,7 @@ extern "C" {
 #ifdef __cplusplus
 #define GDB_DECLARE_GPL_COMPATIBLE_READER       \
   extern "C" {                                  \
+  extern int plugin_is_GPL_compatible (void);   \
   extern int plugin_is_GPL_compatible (void)    \
   {                                             \
     return 0;                                   \
@@ -45,6 +46,7 @@ extern "C" {
 #else
 
 #define GDB_DECLARE_GPL_COMPATIBLE_READER
+  extern int plugin_is_GPL_compatible (void);   \
   extern int plugin_is_GPL_compatible (void)    \
   {                                             \
     return 0;                                   \
This page took 0.025288 seconds and 4 git commands to generate.