aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/tracepoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/tracepoint.h')
-rw-r--r--gdb/gdbserver/tracepoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/tracepoint.h b/gdb/gdbserver/tracepoint.h
index a56e8bf..030b2a9 100644
--- a/gdb/gdbserver/tracepoint.h
+++ b/gdb/gdbserver/tracepoint.h
@@ -62,7 +62,7 @@ void initialize_tracepoint (void);
# define IP_AGENT_EXPORT_VAR EXPORTED_SYMBOL ATTR_USED
# define IP_AGENT_EXPORT_VAR_DECL EXTERN_C EXPORTED_SYMBOL
#else
-# define IP_AGENT_EXPORT_FUNC
+# define IP_AGENT_EXPORT_FUNC static
# define IP_AGENT_EXPORT_VAR
# define IP_AGENT_EXPORT_VAR_DECL extern
#endif