aboutsummaryrefslogtreecommitdiff
path: root/libcpp/macro.c
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-05 09:20:59 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-05 09:20:59 +0000
commit80e34234dd0687c8d3acaf206569822189769ca6 (patch)
tree5bd07836f627198e3bae781b29925ccf577a2c3f /libcpp/macro.c
parentf883da8463719d4a89f256f064df8261a10809ec (diff)
Add 'inline' to prototype of tokens_buff_remove_last_token
libcpp/ * macro.c (tokens_buff_remove_last_token) (tokens_buff_put_token_to): Add an 'inline' function specifier to the prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182002 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/macro.c')
-rw-r--r--libcpp/macro.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcpp/macro.c b/libcpp/macro.c
index f3139590d50..d96b2631a86 100644
--- a/libcpp/macro.c
+++ b/libcpp/macro.c
@@ -128,13 +128,13 @@ static _cpp_buff *tokens_buff_new (cpp_reader *, size_t,
source_location **);
static size_t tokens_buff_count (_cpp_buff *);
static const cpp_token **tokens_buff_last_token_ptr (_cpp_buff *);
-static const cpp_token **tokens_buff_put_token_to (const cpp_token **,
- source_location *,
- const cpp_token *,
- source_location,
- source_location,
- const struct line_map *,
- unsigned int);
+static inline const cpp_token **tokens_buff_put_token_to (const cpp_token **,
+ source_location *,
+ const cpp_token *,
+ source_location,
+ source_location,
+ const struct line_map *,
+ unsigned int);
static const cpp_token **tokens_buff_add_token (_cpp_buff *,
source_location *,
@@ -143,7 +143,7 @@ static const cpp_token **tokens_buff_add_token (_cpp_buff *,
source_location,
const struct line_map *,
unsigned int);
-static void tokens_buff_remove_last_token (_cpp_buff *);
+static inline void tokens_buff_remove_last_token (_cpp_buff *);
static void replace_args (cpp_reader *, cpp_hashnode *, cpp_macro *,
macro_arg *, source_location);
static _cpp_buff *funlike_invocation_p (cpp_reader *, cpp_hashnode *,