Branch: Tag:

2000-08-10

2000-08-10 18:02:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/pike_memory.c:1.75
Rev: src/pike_memory.h:1.17
Rev: src/stralloc.c:1.94
Rev: src/stralloc.h:1.53

5:   \*/      /* -  * $Id: pike_memory.h,v 1.16 2000/08/10 14:42:18 grubba Exp $ +  * $Id: pike_memory.h,v 1.17 2000/08/10 18:02:21 grubba Exp $    */   #ifndef MEMORY_H   #define MEMORY_H
72:   PMOD_EXPORT size_t simple_hashmem(const unsigned char *str, ptrdiff_t len, ptrdiff_t maxn);   PMOD_EXPORT void init_memsearch(struct mem_searcher *s,    char *needle, -  SIZE_T needlelen, -  SIZE_T max_haystacklen); +  size_t needlelen, +  size_t max_haystacklen);   PMOD_EXPORT char *memory_search(struct mem_searcher *s,    char *haystack, -  SIZE_T haystacklen); +  size_t haystacklen);   PMOD_EXPORT void init_generic_memsearcher(struct generic_mem_searcher *s,    void *needle, -  SIZE_T needlelen, +  size_t needlelen,    char needle_shift, -  SIZE_T estimated_haystack, +  size_t estimated_haystack,    char haystack_shift);   PMOD_EXPORT void *generic_memory_search(struct generic_mem_searcher *s,    void *haystack, -  SIZE_T haystacklen, +  size_t haystacklen,    char haystack_shift);   PMOD_EXPORT char *my_memmem(char *needle, -  SIZE_T needlelen, +  size_t needlelen,    char *haystack, -  SIZE_T haystacklen); +  size_t haystacklen);   PMOD_EXPORT void memfill(char *to,    INT32 tolen,    char *from,