aboutsummaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unneeded code removed, usused field "unsigned pscpu" removedvda2006-11-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16488 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mostly style fixesvda2006-11-011-68/+63
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16487 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add open_read_close() and similar stuffvda2006-10-141-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-031-4/+4
| | | | | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-271-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!aldot2006-05-261-2/+2
| | | | | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts git-svn-id: svn://busybox.net/trunk/busybox@15195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many byteslandley2006-05-071-2/+2
| | | | | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. git-svn-id: svn://busybox.net/trunk/busybox@15023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use RESERVE_CONFIG_BUFFER and a bit of whitespace-cleanup. defconfig:aldot2006-03-311-21/+10
| | | | | | | | | text data bss dec hex filename 1307 0 0 1307 51b util-linux/hwclock.o.oorig 1255 0 0 1255 4e7 util-linux/hwclock.o git-svn-id: svn://busybox.net/trunk/busybox@14714 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-1/+1
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new bb_opt_complementally syntax, use [-:?] only - 'free' charsvodz2005-10-141-1/+1
| | | | | | | - new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet git-svn-id: svn://busybox.net/trunk/busybox@11859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use complementally '!' to '?' - 'ask' is best 'free' char for this.vodz2005-10-111-1/+1
| | | | | | | - more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets. git-svn-id: svn://busybox.net/trunk/busybox@11828 69ca8d6d-28ef-0310-b511-8ec308f3f277
* allow people to adjtime locationvapier2005-09-281-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-051-5/+1
| | | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally git-svn-id: svn://busybox.net/trunk/busybox@11332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵vapier2005-05-111-1/+1
| | | | | | (BB_GETOPT_ERROR) git-svn-id: svn://busybox.net/trunk/busybox@10289 69ca8d6d-28ef-0310-b511-8ec308f3f277
* minor style touchupsvapier2005-04-161-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10114 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes:andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some corrections from vodz:sandman2004-03-221-11/+6
| | | | | | | | - Make -u/-l mutually exclusive - Minor size reduction git-svn-id: svn://busybox.net/trunk/busybox@8655 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The utc variable was not modified according to the -u/-l command linesandman2004-03-211-2/+8
| | | | | | | parameters. git-svn-id: svn://busybox.net/trunk/busybox@8654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-19/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Thomas Frohlich to fix an option ordering bug of mine.bug12004-03-101-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8611 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use bb_getopt_ulflags, marginal saving, better argument checking.bug12004-02-221-68/+41
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8542 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use /var/lib/hwclock for adjtime, its really a state file rather than abug12004-02-221-3/+1
| | | | | | | config file, so it should be in /etc, FHS mentions it also. git-svn-id: svn://busybox.net/trunk/busybox@8541 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed some debug printfssandman2003-08-261-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7264 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* > Eliminate dependancy on kernel header files. Naughty naughty.sandman2003-01-021-2/+15
| | | | | | | | | | | | > Using linux kernel headers is a Bad Thing(tm) and should be > punished. > -Erik Doing this wrong should be punished even harder :) - Robert git-svn-id: svn://busybox.net/trunk/busybox@6252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate dependancy on kernel header files. Naughty naughty.andersen2002-12-111-1/+6
| | | | | | | | | Using linux kernel headers is a Bad Thing(tm) and should be punished. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - updated a few copyright/left file headerssandman2002-08-051-2/+17
| | | | | | | - documented most of my 0.61 changes in the ChangeLog git-svn-id: svn://busybox.net/trunk/busybox@5150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial checkin of a very primitive hwclock replacementsandman2002-07-211-0/+229
git-svn-id: svn://busybox.net/trunk/busybox@5072 69ca8d6d-28ef-0310-b511-8ec308f3f277