aboutsummaryrefslogtreecommitdiffstats
path: root/DebugMemory.h
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@debian.org>2011-11-26 15:58:33 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
commitc65eb8be811f59b55d64d9e7654c33708de79ad9 (patch)
treeee6e542b988263c49f0e1200d6aa5aa635667fe8 /DebugMemory.h
parent38174fffd79f54a8be7642bf170a2320b29e8063 (diff)
parenteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff)
downloaddebian_htop-debian/1.0-1.tar.gz
debian_htop-debian/1.0-1.tar.bz2
debian_htop-debian/1.0-1.zip
Imported Debian patch 1.0-1debian/1.0-1
Diffstat (limited to 'DebugMemory.h')
-rw-r--r--DebugMemory.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/DebugMemory.h b/DebugMemory.h
index 16f4248..a67a5f2 100644
--- a/DebugMemory.h
+++ b/DebugMemory.h
@@ -3,7 +3,6 @@
#ifndef HEADER_DebugMemory
#define HEADER_DebugMemory
-#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
@@ -48,7 +47,7 @@ void* DebugMemory_calloc(int a, int b, char* file, int line);
void* DebugMemory_realloc(void* ptr, int size, char* file, int line, char* str);
-void* DebugMemory_strdup(char* str, char* file, int line);
+void* DebugMemory_strdup(const char* str, char* file, int line);
void DebugMemory_free(void* data, char* file, int line);

© 2014-2024 Faster IT GmbH | imprint | privacy policy