]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep_decls.h
* sysdep.c: optimized MyContext() a bit, and inlined it. A little profiling
[citadel.git] / citadel / sysdep_decls.h
index 023ee935ad07522e59402e26a39e1bc7e7d126f5..406e8f68924cbcfb7747663bd62988cacdf6340a 100644 (file)
@@ -17,7 +17,7 @@ void begin_critical_section (int which_one);
 void end_critical_section (int which_one);
 int ig_tcp_server (int port_number, int queue_len);
 int ig_uds_server(char *sockpath, int queue_len);
-struct CitContext *MyContext (void);
+inline struct CitContext *MyContext (void);
 struct CitContext *CreateNewContext (void);
 void InitMyContext (struct CitContext *con);
 void client_write (char *buf, int nbytes);