X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcstack_i.h;h=33c90323a16828c8df404afb0de9cba8c52d4ccd;hb=c27a4ecc3e616e8a5ee09b8ca888ed6ff3e501f7;hp=962821b595350ff09e1ff46e2de4a80b7504057f;hpb=f60ca1494b58b5b2340e1780adf7422eacf5fed1;p=silc.git diff --git a/lib/silcutil/silcstack_i.h b/lib/silcutil/silcstack_i.h index 962821b5..33c90323 100644 --- a/lib/silcutil/silcstack_i.h +++ b/lib/silcutil/silcstack_i.h @@ -93,7 +93,7 @@ struct SilcStackStruct { /* Allocate memory. If the `aligned' is FALSE this allocates unaligned memory, otherwise memory is aligned. Returns pointer to the memory or NULL on error. */ -void *silc_stack_malloc(SilcStack stack, SilcUInt32 size, bool aligned); +void *silc_stack_malloc(SilcStack stack, SilcUInt32 size, SilcBool aligned); /* Attempts to reallocate memory by changing the size of the `ptr' into `size'. This routine works only if the previous allocation to `stack' @@ -102,7 +102,7 @@ void *silc_stack_malloc(SilcStack stack, SilcUInt32 size, bool aligned); if the `size' does not fit into the current block. If NULL is returned the old memory remains intact. */ void *silc_stack_realloc(SilcStack stack, SilcUInt32 old_size, - void *ptr, SilcUInt32 size, bool aligned); + void *ptr, SilcUInt32 size, SilcBool aligned); #ifdef SILC_DIST_INPLACE /* Prints statistics of the usage of SilcStack to stdout. */