diff libpurple/protocols/myspace/persist.h @ 19435:bddc6a6fddf0

In msimprpl, move user-related code to a new user module, and move other pieces of code into their proper modules. Now myspace.c isn't so unwieldy.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sun, 26 Aug 2007 07:37:28 +0000
parents 9d921dde9d9f
children 44b4e8bd759b
line wrap: on
line diff
--- a/libpurple/protocols/myspace/persist.h	Sun Aug 26 06:51:17 2007 +0000
+++ b/libpurple/protocols/myspace/persist.h	Sun Aug 26 07:37:28 2007 +0000
@@ -42,8 +42,8 @@
 
 /** Define a set of _DSN and _LID constants for a persistance request. */
 #define MSIM_PERSIST_DSN_LID(name,dsn,lid)             \
-    const int name##_DSN = dsn;                        \
-    const int name##_LID = lid;                        
+    static const int name##_DSN = dsn;                 \
+    static const int name##_LID = lid;                        
 
 /* Can't do this, errors:
  *     persist.h:51:3: error: '#' is not followed by a macro parameter