aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/strncmp.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Remove ancient SCCS tags.Warner Losh2023-11-271-3/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* libc: Purge unneeded cdefs.hWarner Losh2023-11-011-1/+0
| | | | | | | | | These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Keep those. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D42385
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber clauses to reduce diffs to other versionsEd Maste2013-05-281-1/+1
| | | | | | | | NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3, so follow suit to make comparison easier. Notes: svn path=/head/; revision=251069
* Revert r227812 and r227808 per discussionEitan Adler2011-12-021-3/+1
| | | | | | | | Reviewed by: many Approved by: des Notes: svn path=/head/; revision=228202
* - fix some style(9) nits with my last commitEitan Adler2011-11-221-0/+1
| | | | | | | | | | - add a comment explaining why I used '|' instead of '||' Submitted by: danfe@ Approved by: emaste@ Notes: svn path=/head/; revision=227812
* - add check for pointer equality prior to performing the O(n) passEitan Adler2011-11-221-1/+2
| | | | | | | | | | | | - while here change 's' to 's1' in strcoll Submitted by: eadler@ Reviewed by: theraven@ Approved by: brooks@ MFC after: 2 weeks Notes: svn path=/head/; revision=227808
* - ANSIfy function definitionsDaniel Gerzo2009-02-031-4/+2
| | | | | | | | | - use nul when we are looking for a terminating character where appropriate Approved by: imp Notes: svn path=/head/; revision=188080
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* Remove 'register' keyword.David E. O'Brien2002-03-211-2/+2
| | | | Notes: svn path=/head/; revision=92889
* rcsid[]->__FBSDIDDavid E. O'Brien2001-11-071-5/+2
| | | | Notes: svn path=/head/; revision=86170
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.David E. O'Brien2001-05-241-0/+4
| | | | | | | Do the same for the non-wcs*/wmem* files while I'm here. Notes: svn path=/head/; revision=77117
* Fixed the easy cases of const poisoning in the kernel. Cosmetic.Bruce Evans1996-08-311-1/+2
| | | | Notes: svn path=/head/; revision=17974
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+56
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573