1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-15 04:28:09 -04:00

don't bother with inlining at all, it doesn't help that much and I'm not

sure how to do it properly without warnings :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3078 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-12-28 14:59:29 +00:00 committed by cras
parent c4c6428185
commit 3a1ceaf3d0

View File

@ -8,14 +8,6 @@
typedef void* (*FOREACH_FIND_FUNC) (void *item, void *data);
typedef int (*COLUMN_LEN_FUNC)(void *data);
extern inline int nearest_power(int num)
{
int n = 1;
while (n < num) n <<= 1;
return n;
}
/* Returns 1 if tv1 > tv2, -1 if tv2 > tv1 or 0 if they're equal. */
int g_timeval_cmp(const GTimeVal *tv1, const GTimeVal *tv2);
/* Returns "tv1 - tv2", returns the result in milliseconds. Note that
@ -111,4 +103,6 @@ int expand_escape(const char **data);
/* Escape all '"', "'" and '\' chars with '\' */
char *escape_string(const char *str);
int nearest_power(int num);
#endif