aboutsummaryrefslogtreecommitdiff
path: root/libbb/kernel_version.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* avoid using strok - eliminates use of hidden global variableDenys Vlasenko2020-10-061-9/+11
| | | | | | | | | | | | | | | | | | function old new delta udhcp_str2optset 616 650 +34 setpriv_main 950 975 +25 switch_root_main 688 706 +18 parse 958 970 +12 getopt_main 622 628 +6 parse_resolvconf 302 306 +4 mpstat_main 1139 1142 +3 static.p 4 - -4 cdcmd 717 702 -15 strtok 148 - -148 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 7/1 up/down: 102/-167) Total: -65 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace and comment format fixes, no code changesDenys Vlasenko2017-10-051-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tidy up strtok useDenys Vlasenko2015-10-231-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* get_linux_version_code: don't fail on Linux version strints like "3.0-foo"Andreas Oberritter2012-05-051-7/+4
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use "can't" instead of "cannot"Denys Vlasenko2009-11-131-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more C standard compat fixes from Dan FandrichDenys Vlasenko2009-09-061-2/+3
| | | | | | | function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-1/+1
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* modprobe: reformat to match bbox styleDenis Vlasenko2006-10-271-5/+2
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-22/+1
| | | | - use shorter boilerplate while at it
* - single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer2006-05-191-3/+4
| | | | | - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-1/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-7/+1
| | | | -Erik
* Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen2001-03-161-0/+66
files. Clean up the resulting damage and fix up the makefile. -Erik