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

Diff for /mandoc/compat_strsep.c between version 1.1 and 1.5

version 1.1, 2013/12/31 23:03:47 version 1.5, 2020/06/15 01:37:15
Line 1 
Line 1 
 #ifdef HAVE_CONFIG_H  /*      $Id$    */
 #include "config.h"  /*      $OpenBSD$       */
 #endif  
   
 #ifdef HAVE_STRSEP  
   
 int dummy;  
   
 #else  
   
 /*      ($)OpenBSD: strsep.c,v 1.6 2005/08/08 08:05:37 espie Exp $      */  
   
 /*-  /*-
  * Copyright (c) 1990, 1993   * Copyright (c) 1990, 1993
  *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
Line 38  int dummy;
Line 29  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"
   
 /*  /*
  * Get next token from string *stringp, where tokens are possibly-empty   * Get next token from string *stringp, where tokens are possibly-empty
Line 76  strsep(char **stringp, const char *delim)
Line 68  strsep(char **stringp, const char *delim)
         }          }
         /* NOTREACHED */          /* NOTREACHED */
 }  }
   
 #endif  

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

CVSweb