diff options
Diffstat (limited to 'src/transport/gnunet-communicator-unix.c')
-rw-r--r-- | src/transport/gnunet-communicator-unix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/gnunet-communicator-unix.c b/src/transport/gnunet-communicator-unix.c index d8205addb..2cfb802e3 100644 --- a/src/transport/gnunet-communicator-unix.c +++ b/src/transport/gnunet-communicator-unix.c | |||
@@ -1111,12 +1111,15 @@ main (int argc, char *const *argv) | |||
1111 | /** | 1111 | /** |
1112 | * MINIMIZE heap size (way below 128k) since this process doesn't need much. | 1112 | * MINIMIZE heap size (way below 128k) since this process doesn't need much. |
1113 | */ | 1113 | */ |
1114 | void __attribute__ ((constructor)) GNUNET_ARM_memory_init () | 1114 | void __attribute__ ((constructor)) |
1115 | GNUNET_ARM_memory_init () | ||
1115 | { | 1116 | { |
1116 | mallopt (M_TRIM_THRESHOLD, 4 * 1024); | 1117 | mallopt (M_TRIM_THRESHOLD, 4 * 1024); |
1117 | mallopt (M_TOP_PAD, 1 * 1024); | 1118 | mallopt (M_TOP_PAD, 1 * 1024); |
1118 | malloc_trim (0); | 1119 | malloc_trim (0); |
1119 | } | 1120 | } |
1121 | |||
1122 | |||
1120 | #endif | 1123 | #endif |
1121 | 1124 | ||
1122 | /* end of gnunet-communicator-unix.c */ | 1125 | /* end of gnunet-communicator-unix.c */ |