return GNUNET_OK;
}
+
static void
cache_answers (const char *name,
struct GNUNET_DNSPARSER_Record *records,
}
}
+
/**
* We got a result from DNS. Add it to the cache and
* see if we can make our client happy...
/**
* MINIMIZE heap size (way below 128k) since this process doesn't need much.
*/
-void __attribute__ ((constructor)) GNUNET_RESOLVER_memory_init ()
+void __attribute__ ((constructor))
+GNUNET_RESOLVER_memory_init ()
{
mallopt (M_TRIM_THRESHOLD, 4 * 1024);
mallopt (M_TOP_PAD, 1 * 1024);
malloc_trim (0);
}
+
+
#endif