aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-communicator-unix.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/transport/gnunet-communicator-unix.c
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
Diffstat (limited to 'src/transport/gnunet-communicator-unix.c')
-rw-r--r--src/transport/gnunet-communicator-unix.c5
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 */
1114void __attribute__ ((constructor)) GNUNET_ARM_memory_init () 1114void __attribute__ ((constructor))
1115GNUNET_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 */