Fix lots of warnings all over the place, make inbound buffers of FMOUT const.
[citadel.git] / webcit / serv_func.c
index 14a4d655937151e456e1269cad7c6ea03d20fd22..7ee74af2c81c850ee3ff5aa54b6e613b9264953f 100644 (file)
@@ -257,12 +257,12 @@ int GetConnected (void)
  *  Read Citadel variformat text and spit it out as HTML.
  *  align html align string
  */
-inline void fmout(char *align)
+inline void fmout(const char *align)
 {
        _fmout(WC->WBuf, align);
 }
 
-void _fmout(StrBuf *Target, char *align)
+void _fmout(StrBuf *Target, const char *align)
 {
        int intext = 0;
        int bq = 0;
@@ -303,7 +303,7 @@ void _fmout(StrBuf *Target, char *align)
        wc_printf("</div><br>\n");
 }
 
-void FmOut(StrBuf *Target, char *align, StrBuf *Source)
+void FmOut(StrBuf *Target, const char *align, StrBuf *Source)
 {
        const char *ptr, *pte;
        const char *BufPtr = NULL;