projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
verify: Fix syntax error with GCC 4.6 in C++ mode.
[gnulib.git]
/
lib
/
obstack.h
diff --git
a/lib/obstack.h
b/lib/obstack.h
index
7a65bac
..
8a8d44b
100644
(file)
--- a/
lib/obstack.h
+++ b/
lib/obstack.h
@@
-1,6
+1,6
@@
/* obstack.h - object stack macros
/* obstack.h - object stack macros
- Copyright (C) 1988-1994,
1996-1999,2003,2004,2005,2006
-
Free Software
Foundation, Inc.
+ Copyright (C) 1988-1994,
1996-1999, 2003-2006, 2009-2011 Free Software
+ Foundation, Inc.
This file is part of the GNU C Library.
This program is free software: you can redistribute it and/or modify
This file is part of the GNU C Library.
This program is free software: you can redistribute it and/or modify
@@
-103,10
+103,6
@@
Summary:
#ifndef _OBSTACK_H
#define _OBSTACK_H 1
#ifndef _OBSTACK_H
#define _OBSTACK_H 1
-
-#ifdef __cplusplus
-extern "C" {
-#endif
\f
/* We need the type of a pointer subtraction. If __PTRDIFF_TYPE__ is
defined, as with GNU C, use that; that way we don't pollute the
\f
/* We need the type of a pointer subtraction. If __PTRDIFF_TYPE__ is
defined, as with GNU C, use that; that way we don't pollute the
@@
-139,6
+135,10
@@
extern "C" {
#include <string.h>
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct _obstack_chunk /* Lives at front of each chunk. */
{
char *limit; /* 1 past end of this chunk */
struct _obstack_chunk /* Lives at front of each chunk. */
{
char *limit; /* 1 past end of this chunk */