mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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:
parent
c4c6428185
commit
3a1ceaf3d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user