diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/statistics/gnunet-service-statistics.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/statistics/gnunet-service-statistics.c')
-rw-r--r-- | src/statistics/gnunet-service-statistics.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c index 3de481e77..ba6a614c8 100644 --- a/src/statistics/gnunet-service-statistics.c +++ b/src/statistics/gnunet-service-statistics.c | |||
@@ -1048,12 +1048,15 @@ GNUNET_SERVICE_MAIN ( | |||
1048 | /** | 1048 | /** |
1049 | * MINIMIZE heap size (way below 128k) since this process doesn't need much. | 1049 | * MINIMIZE heap size (way below 128k) since this process doesn't need much. |
1050 | */ | 1050 | */ |
1051 | void __attribute__ ((constructor)) GNUNET_STATISTICS_memory_init () | 1051 | void __attribute__ ((constructor)) |
1052 | GNUNET_STATISTICS_memory_init () | ||
1052 | { | 1053 | { |
1053 | mallopt (M_TRIM_THRESHOLD, 4 * 1024); | 1054 | mallopt (M_TRIM_THRESHOLD, 4 * 1024); |
1054 | mallopt (M_TOP_PAD, 1 * 1024); | 1055 | mallopt (M_TOP_PAD, 1 * 1024); |
1055 | malloc_trim (0); | 1056 | malloc_trim (0); |
1056 | } | 1057 | } |
1058 | |||
1059 | |||
1057 | #endif | 1060 | #endif |
1058 | 1061 | ||
1059 | 1062 | ||