+static BOOL HaveDefaultMailClient()
 
this should be
 
+static BOOL HaveDefaultMailClient(void)

A+
-- 
Eric Pouech