Mercurial > pidgin
comparison libpurple/protocols/myspace/persist.h @ 24767:295464ae2d2a
No functionality change--just cleanup.
* Remove stray whitespace
* Make functions static that don't need to be public
* Shuffling functions around so there is a general bottom-to-top
logic flow
* Remove foward declarations for functions that don't need them
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 16 Dec 2008 03:35:22 +0000 |
parents | c3dc9e0d2c08 |
children | 5f93e67a8bd7 |
comparison
equal
deleted
inserted
replaced
24766:ce108a92fa4e | 24767:295464ae2d2a |
---|---|
41 #define MSIM_CMD_IS_NORMAL(x) !(x & MSIM_CMD_BIT_ERROR) | 41 #define MSIM_CMD_IS_NORMAL(x) !(x & MSIM_CMD_BIT_ERROR) |
42 | 42 |
43 /** Define a set of _DSN and _LID constants for a persistance request. */ | 43 /** Define a set of _DSN and _LID constants for a persistance request. */ |
44 #define MSIM_PERSIST_DSN_LID(name,dsn,lid) \ | 44 #define MSIM_PERSIST_DSN_LID(name,dsn,lid) \ |
45 static const int name##_DSN = dsn; \ | 45 static const int name##_DSN = dsn; \ |
46 static const int name##_LID = lid; | 46 static const int name##_LID = lid; |
47 | 47 |
48 /* Can't do this, errors: | 48 /* Can't do this, errors: |
49 * persist.h:51:3: error: '#' is not followed by a macro parameter | 49 * persist.h:51:3: error: '#' is not followed by a macro parameter |
50 * In file included from myspace.c:37: | 50 * In file included from myspace.c:37: |
51 * persist.h:56: error: expected ')' before numeric constant | 51 * persist.h:56: error: expected ')' before numeric constant |