summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/ffs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasguenther2018-01-181-2/+1
| | | | | | | dance, mark it protected. This works better for both gcc and clang: gcc blocks overriding of internal calls, while clang permits inlining again. ok otto@
* Add framework for resolving (pun intended) libc namespace issues, usingguenther2015-08-311-1/+2
| | | | | | | | | | | | wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@
* mop up ifndef KERNEL goo; ok miodderaadt2014-06-101-5/+1
|
* zap remaining rcsid.espie2005-08-081-5/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* ansification; pval okderaadt2003-06-111-6/+5
|
* knf; ouch, that hurtsmickey2000-07-021-6/+7
|
* new version of ffs from drahn@mickey2000-07-021-38/+28
| | | | | combines binary search and table lookup. tested on i386, sparc, ppc, hppa
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* switch on _KERNEL to load proper include filederaadt1996-05-011-1/+5
|
* initial import of NetBSD treederaadt1995-10-181-0/+55