aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-07-11 16:03:07 +0200
committerRickard Green <[email protected]>2013-07-11 16:03:07 +0200
commit6b16d650f99044eb2e1975f2d954aa07ed8aae35 (patch)
tree77ed93c21b84947b929dec15977d14c6a0885b2b
parentdb110d392706dd8065a84b55c1354cc6c004f45c (diff)
downloadotp-6b16d650f99044eb2e1975f2d954aa07ed8aae35.tar.gz
otp-6b16d650f99044eb2e1975f2d954aa07ed8aae35.tar.bz2
otp-6b16d650f99044eb2e1975f2d954aa07ed8aae35.zip
Fix 'no previous prototype' warning for dtrace functions
-rwxr-xr-xerts/emulator/beam/global.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 25aedc91c6..c0d66d6cc1 100755
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1217,6 +1217,13 @@ erts_alloc_message_heap(Uint size,
# define UnUseTmpHeapNoproc(Size) /* Nothing */
#endif /* HEAP_ON_C_STACK */
+ERTS_GLB_INLINE void dtrace_pid_str(Eterm pid, char *process_buf);
+ERTS_GLB_INLINE void dtrace_proc_str(Process *process, char *process_buf);
+ERTS_GLB_INLINE void dtrace_port_str(Port *port, char *port_buf);
+ERTS_GLB_INLINE void dtrace_fun_decode(Process *process,
+ Eterm module, Eterm function, int arity,
+ char *process_buf, char *mfa_buf);
+
#if ERTS_GLB_INLINE_INCL_FUNC_DEF
#include "dtrace-wrapper.h"