* MyContext() no longer declared INLINE
authorArt Cancro <ajc@citadel.org>
Thu, 23 Sep 2004 03:02:31 +0000 (03:02 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 23 Sep 2004 03:02:31 +0000 (03:02 +0000)
citadel/ChangeLog
citadel/sysdep.c
citadel/sysdep_decls.h

index 0cac82d2163a972f58d29af43c8827097ffd37cc..39b3d1990da19d927a43fa6f0bd2938ad1b6b569 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 625.31  2004/09/23 03:02:31  ajc
+ * MyContext() no longer declared INLINE
+
  Revision 625.30  2004/09/23 02:54:46  ajc
  * in MyContext(), reduced the number of calls to pthread_getspecific()
    from two to one
@@ -6110,3 +6113,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 71b1bd9b72ca4355c3ebffd84dd67231702ecda7..fa3fd5f32754adb89841eb24b42725a53342f6e5 100644 (file)
@@ -380,9 +380,9 @@ int ig_uds_server(char *sockpath, int queue_len)
  * called this function.  If there's no such binding (for example, if it's
  * called by the housekeeper thread) then a generic 'master' CC is returned.
  *
- * It's inlined because it's used *VERY* frequently.
+ * This function is used *VERY* frequently and must be kept small.
  */
-INLINE struct CitContext *MyContext(void) {
+struct CitContext *MyContext(void) {
 
        register struct CitContext *c;
 
index 15f08bb7bcd66db449323418487e5bb127e80625..e0be5f47234f47f239b260583a133acc8566b462 100644 (file)
@@ -46,7 +46,7 @@ void begin_critical_section (int which_one);
 void end_critical_section (int which_one);
 int ig_tcp_server (char *ip_addr, int port_number, int queue_len);
 int ig_uds_server(char *sockpath, int queue_len);
-INLINE struct CitContext *MyContext (void);
+struct CitContext *MyContext (void);
 struct CitContext *CreateNewContext (void);
 void InitMyContext (struct CitContext *con);
 void buffer_output(void);