summaryrefslogtreecommitdiff
path: root/popt/test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'popt/test2.c')
-rw-r--r--popt/test2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/popt/test2.c b/popt/test2.c
index 4e9275d7a..5deb89d0d 100644
--- a/popt/test2.c
+++ b/popt/test2.c
@@ -9,11 +9,7 @@
whim as long as this Copyright remains attached.
*/
-#include <stdio.h>
-#include <string.h>
-#include <popt.h>
-
-#define TEST2
+#include "system.h"
char *PathnameOfKeyFile = NULL;
char *PathnameOfOfferFile = NULL;
@@ -123,6 +119,10 @@ main(int argc, char**argv ) {
{ NULL, 0, 0, NULL, 0, NULL, NULL }
};
+#if HAVE_MCHECK_H && HAVE_MTRACE
+ mtrace(); /* Trace malloc only if MALLOC_TRACE=mtrace-output-file. */
+#endif
+
optCon = poptGetContext("createuser", argc, argv, optionsTable, 0);
poptReadConfigFile(optCon, rcfile );