~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/stacktrace.h

Merged Nathan from lp:~nlws/drizzle/fix-string-c-ptr-overrun

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "global.h"
21
 
 
22
20
#ifdef __cplusplus
23
21
extern "C" {
24
22
#endif
47
45
#endif /* defined HAVE_OS_LINUX */
48
46
 
49
47
#ifdef HAVE_STACKTRACE
50
 
  void print_stacktrace(unsigned char* stack_bottom, ulong thread_stack);
 
48
  void print_stacktrace(unsigned char* stack_bottom, size_t thread_stack);
51
49
  void safe_print_str(const char* name, const char* val, int max_len);
52
50
#else
53
51
/* Define empty prototypes for functions that are not implemented */