From cab8802354855a757e920465320f67db1d92706f Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Fri, 22 Jun 2012 21:22:34 +0000 Subject: [PATCH] evas/cserve2: Only declare timeval function if debug is enabled. SVN revision: 72703 --- legacy/evas/src/bin/evas_cserve2_cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legacy/evas/src/bin/evas_cserve2_cache.c b/legacy/evas/src/bin/evas_cserve2_cache.c index 63219c04f7..cc9ed93a9c 100644 --- a/legacy/evas/src/bin/evas_cserve2_cache.c +++ b/legacy/evas/src/bin/evas_cserve2_cache.c @@ -225,6 +225,7 @@ _entry_load_finish(Entry *e) #endif } +#ifdef DEBUG_LOAD_TIME static int _timeval_sub(const struct timeval *tv2, const struct timeval *tv1) { @@ -235,6 +236,7 @@ _timeval_sub(const struct timeval *tv2, const struct timeval *tv1) return t2 - t1; } +#endif static void _image_opened_send(Client *client, File_Data *entry, unsigned int rid)