dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtmail / dtmail / FindDialog.C
index de5e9644d6b01c11417996b9492fee0df6d8bbb8..cef88a7d549d167ff79a2a3974db1d26fc1c2bfd 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -133,6 +133,7 @@ FindDialog::FindDialog(RoamMenuWindow *parent) : Dialog("find", parent)
   _roamWindow = parent;
   _num_text_fields = 4;
   _num_buttons = 5;
+  _status_text = NULL;
 
   //
   // Allocate storage for labels, widgets, and data.
@@ -728,12 +729,13 @@ FindDialog::compareMessage(DtMailMessageHandle      handle)
   return(found);
 }
 
+#if !defined(CSRG_BASED) && !defined(__linux__)
 //
 // See if string 'toFind' is anyware in string 'str'.
 // A case-insensitive version of strstr().
 //
 static const char      *
-strcasestr(const char *str, const char *toFind)
+FindDialog::strcasestr(const char *str, const char *toFind)
 {
   const char   *result = NULL;         // Default to not found.
 
@@ -762,6 +764,7 @@ strcasestr(const char *str, const char *toFind)
   }
   return(result);
 }
+#endif
 
 Boolean
 FindDialog::compareHeader(DtMailEnv            & error,