summaryrefslogtreecommitdiffstats
path: root/runtime/print.h
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-05-26 14:08:57 -0500
committerDavid Smith <dsmith@redhat.com>2009-05-26 14:08:57 -0500
commita655ff03c59722c229a40909d0de9e3dfe63483e (patch)
tree4d30b5012cd042ee626d3f5de2c731c76ae76908 /runtime/print.h
parente57421f400d17786c1fdbead5fbca27a1fbe4ec5 (diff)
downloadsystemtap-steved-a655ff03c59722c229a40909d0de9e3dfe63483e.tar.gz
systemtap-steved-a655ff03c59722c229a40909d0de9e3dfe63483e.tar.xz
systemtap-steved-a655ff03c59722c229a40909d0de9e3dfe63483e.zip
Cleanup and better original transport support.
* runtime/print.h: Moved _stp_reserve_bytes() prototype here. * runtime/vsprintf.c (_stp_vsnprintf): Includes print.h to get _stp_reserve_bytes() prototype. * runtime/transport/transport.c (_stp_remove_root_dir): Better cleanup for STP_TRANSPORT_VERSION == 1. (_stp_transport_fs_close): Ditto.
Diffstat (limited to 'runtime/print.h')
-rw-r--r--runtime/print.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/print.h b/runtime/print.h
index d5c588a3..c2731a2f 100644
--- a/runtime/print.h
+++ b/runtime/print.h
@@ -12,5 +12,6 @@
static int _stp_print_init(void);
static void _stp_print_cleanup(void);
+static void *_stp_reserve_bytes(int numbytes);
#endif /* _STP_PRINT_H_ */