This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[gold][patch] Fix syntax error in include/plugin-api.h
- From: Cary Coutant <ccoutant at google dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Mon, 1 Dec 2008 11:09:43 -0800
- Subject: [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) */