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

Cary Coutant ccoutant@google.com
Mon Dec 1 19:10:00 GMT 2008


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) */



More information about the Binutils mailing list