diff options
author | David Smith <dsmith@redhat.com> | 2009-05-26 14:08:57 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-05-26 14:08:57 -0500 |
commit | a655ff03c59722c229a40909d0de9e3dfe63483e (patch) | |
tree | 4d30b5012cd042ee626d3f5de2c731c76ae76908 /runtime/vsprintf.c | |
parent | e57421f400d17786c1fdbead5fbca27a1fbe4ec5 (diff) | |
download | systemtap-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/vsprintf.c')
-rw-r--r-- | runtime/vsprintf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/vsprintf.c b/runtime/vsprintf.c index 674946b9..5875d509 100644 --- a/runtime/vsprintf.c +++ b/runtime/vsprintf.c @@ -12,11 +12,9 @@ #ifndef _VSPRINTF_C_ #define _VSPRINTF_C_ +#include "print.h" #include "transport/transport.h" -//forward declaration for _stp_vsnprintf -static void * _stp_reserve_bytes (int); - static int skip_atoi(const char **s) { int i=0; |