diff options
| author | Max Filippov <[email protected]> | 2015-05-04 02:25:40 +0300 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-05-04 16:05:04 +0200 |
| commit | b88bece422ec249215f3ab5e848c4991bef68c40 (patch) | |
| tree | e9484c1a78ab74227f37f682c6035f2bc39f94dd /src/unstrip.c | |
| parent | 1ab3c2befeedf5bd891cfbe17cfef79c06e5079a (diff) | |
Drop mtrace calls.
mtrace is a GNU extension not supported by uClibc and it's believed to
not be really used. Drop mtrace() calls and #include <mcheck.h>.
Signed-off-by: Max Filippov <[email protected]>
Diffstat (limited to 'src/unstrip.c')
| -rw-r--r-- | src/unstrip.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/unstrip.c b/src/unstrip.c index 989ac5ff..4a8e5fa9 100644 --- a/src/unstrip.c +++ b/src/unstrip.c @@ -36,7 +36,6 @@ #include <fnmatch.h> #include <libintl.h> #include <locale.h> -#include <mcheck.h> #include <stdbool.h> #include <stdio.h> #include <stdio_ext.h> @@ -2252,9 +2251,6 @@ handle_implicit_modules (const struct arg_info *info) int main (int argc, char **argv) { - /* Make memory leak detection possible. */ - mtrace (); - /* We use no threads here which can interfere with handling a stream. */ __fsetlocking (stdin, FSETLOCKING_BYCALLER); __fsetlocking (stdout, FSETLOCKING_BYCALLER); |
