1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

mem_align_alloc__, add_bytes_to_string__: Let file point to const.

This commit is contained in:
Kalle Olavi Niemitalo 2007-01-28 02:12:39 +02:00 committed by Kalle Olavi Niemitalo
parent fd27919f91
commit 5367209702
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ void *mem_realloc(void *, size_t);
static inline void *
mem_align_alloc__(
#ifdef DEBUG_MEMLEAK
unsigned char *file, int line,
const unsigned char *file, int line,
#endif
void **ptr, size_t old, size_t new, size_t objsize, size_t mask)
{

View File

@ -214,7 +214,7 @@ squeezastring(struct string *string)
static inline struct string *
add_bytes_to_string__(
#ifdef DEBUG_MEMLEAK
unsigned char *file, int line,
const unsigned char *file, int line,
#endif
struct string *string, const unsigned char *bytes,
int length)