evas/cserve2: Only declare timeval function if debug is

enabled.



SVN revision: 72703
This commit is contained in:
Rafael Antognolli 2012-06-22 21:22:34 +00:00
parent 9ebc095a1f
commit cab8802354
1 changed files with 2 additions and 0 deletions

View File

@ -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)