gbranden pushed a commit to branch master
in repository groff.
commit 5b1c668f9abbf2c3365e66bd87d46698e62376f9
Author: G. Branden Robinson <[email protected]>
Date: Tue Nov 6 13:48:08 2018 -0500
src/utils/lookbib/lookbib.cpp: Fix version string.
* src/utils/lookbib/lookbib.cpp: Doesn't make much sense to mark
Version_string as a C extern if you're just going to hide it in
a throwaway scope again. Remove braces, exposing it.
Fixes <https://savannah.gnu.org/bugs/index.php?54972>.
Signed-off-by: G. Branden Robinson <[email protected]>
---
src/utils/lookbib/lookbib.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/utils/lookbib/lookbib.cpp b/src/utils/lookbib/lookbib.cpp
index a56f79e..f3f82e5 100644
--- a/src/utils/lookbib/lookbib.cpp
+++ b/src/utils/lookbib/lookbib.cpp
@@ -34,9 +34,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
#include "posix.h"
#include "nonposix.h"
-extern "C" {
- const char *Version_string;
-}
+extern "C" const char *Version_string;
static void usage(FILE *stream)
{
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit