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:
parent
fd27919f91
commit
5367209702
@ -124,7 +124,7 @@ void *mem_realloc(void *, size_t);
|
|||||||
static inline void *
|
static inline void *
|
||||||
mem_align_alloc__(
|
mem_align_alloc__(
|
||||||
#ifdef DEBUG_MEMLEAK
|
#ifdef DEBUG_MEMLEAK
|
||||||
unsigned char *file, int line,
|
const unsigned char *file, int line,
|
||||||
#endif
|
#endif
|
||||||
void **ptr, size_t old, size_t new, size_t objsize, size_t mask)
|
void **ptr, size_t old, size_t new, size_t objsize, size_t mask)
|
||||||
{
|
{
|
||||||
|
@ -214,7 +214,7 @@ squeezastring(struct string *string)
|
|||||||
static inline struct string *
|
static inline struct string *
|
||||||
add_bytes_to_string__(
|
add_bytes_to_string__(
|
||||||
#ifdef DEBUG_MEMLEAK
|
#ifdef DEBUG_MEMLEAK
|
||||||
unsigned char *file, int line,
|
const unsigned char *file, int line,
|
||||||
#endif
|
#endif
|
||||||
struct string *string, const unsigned char *bytes,
|
struct string *string, const unsigned char *bytes,
|
||||||
int length)
|
int length)
|
||||||
|
Loading…
Reference in New Issue
Block a user