* typedef wcsession, so we don't always need to say gcc again its a struct.
[citadel.git] / webcit / iconbar.c
index cab143b881924a60527adee89ea245bf0f76471c..271d0d6bac0fe139ff305cab229b79ef25952096 100644 (file)
@@ -53,7 +53,7 @@ inline const char *PrintInt(void *Prefstr)
 
 void LoadIconSettings(void)
 {
-       struct wcsession *WCC = WC;
+       wcsession *WCC = WC;
        StrBuf *iconbar = NULL;
        StrBuf *buf = NewStrBuf();;
        StrBuf *key = NewStrBuf();
@@ -805,7 +805,7 @@ void commit_iconbar(void) {
 
 void tmplput_iconbar(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType)
 {
-       struct wcsession *WCC = WC;
+       wcsession *WCC = WC;
        
        if ((WCC != NULL) && (WCC->logged_in)) {
                wprintf("<div id=\"iconbar\">");