This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gold][patch] Fix syntax error in include/plugin-api.h


The file include/plugin-api.h had a stray semicolon after the extern
"C" { ... } declaration. Because of ifdefs, the error only showed up
when compiling a C++ plugin.

Committed as obvious.

-cary


include/ChangeLog:

	* plugin-api.h: Fix syntax error when compiling with C++.


Index: plugin-api.h
===================================================================
RCS file: /cvs/src/src/include/plugin-api.h,v
retrieving revision 1.2
diff -u -p -r1.2 plugin-api.h
--- plugin-api.h	22 Sep 2008 16:37:41 -0000	1.2
+++ plugin-api.h	1 Dec 2008 19:05:12 -0000
@@ -236,7 +236,7 @@ enum ld_plugin_status
 (*ld_plugin_onload) (struct ld_plugin_tv *tv);

 #ifdef __cplusplus
-};
+}
 #endif

 #endif /* !defined(PLUGIN_API_H) */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]