[BACK]Return to compat_strcasestr.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/compat_strcasestr.c between version 1.4 and 1.5

version 1.4, 2014/12/11 09:19:32 version 1.5, 2020/06/15 01:37:15
Line 1 
Line 1 
 #include "config.h"  /*      $Id$ */
   
 #if HAVE_STRCASESTR  
   
 int dummy;  
   
 #else  
   
 /*      $Id$    */  
 /*      $NetBSD: strcasestr.c,v 1.3 2005/11/29 03:12:00 christos Exp $  */  /*      $NetBSD: strcasestr.c,v 1.3 2005/11/29 03:12:00 christos Exp $  */
   
 /*-  /*-
Line 40  int dummy;
Line 32  int dummy;
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   #include "config.h"
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <ctype.h>  #include <ctype.h>
Line 69  strcasestr(const char *s, const char *find)
Line 62  strcasestr(const char *s, const char *find)
         }          }
         return __UNCONST(s);          return __UNCONST(s);
 }  }
   
 #endif  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb