Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: third_party/yasm/patched-yasm/libyasm/strsep.c

Issue 11364046: Update Yasm to 1.2.0 (Yasm Part 1/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * strsep() implementation for systems that don't have it. 2 * strsep() implementation for systems that don't have it.
3 * 3 *
4 * Copyright (c) 1990, 1993 4 * Copyright (c) 1990, 1993
5 * The Regents of the University of California. All rights reserved. 5 * The Regents of the University of California. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 12 matching lines...) Expand all
23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE. 29 * SUCH DAMAGE.
30 */ 30 */
31 #define NO_STRING_INLINES 31 #define NO_STRING_INLINES
32 #include "util.h" 32 #include "util.h"
33 /*@unused@*/ RCSID("$Id: strsep.c 1893 2007-07-14 03:11:32Z peter $");
34 33
35 34
36 #if defined(LIBC_SCCS) && !defined(lint) 35 #if defined(LIBC_SCCS) && !defined(lint)
37 static char sccsid[] = "@(#)strsep.c 8.1 (Berkeley) 6/4/93"; 36 static char sccsid[] = "@(#)strsep.c 8.1 (Berkeley) 6/4/93";
38 #endif /* LIBC_SCCS and not lint */ 37 #endif /* LIBC_SCCS and not lint */
39 38
40 #ifdef HAVE_STRSEP 39 #ifdef HAVE_STRSEP
41 #undef yasm__strsep 40 #undef yasm__strsep
42 #endif 41 #endif
43 42
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 s[-1] = 0; 76 s[-1] = 0;
78 *stringp = s; 77 *stringp = s;
79 return (tok); 78 return (tok);
80 } 79 }
81 } while (sc != 0); 80 } while (sc != 0);
82 } 81 }
83 /* NOTREACHED */ 82 /* NOTREACHED */
84 #endif 83 #endif
85 } 84 }
86 /*@=nullstate@*/ 85 /*@=nullstate@*/
OLDNEW
« no previous file with comments | « third_party/yasm/patched-yasm/libyasm/strcasecmp.c ('k') | third_party/yasm/patched-yasm/libyasm/symrec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698