summaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
AgeCommit message (Collapse)Author
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-01'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko
263 bytes saved.
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-03-14swapon: reinstate hole check but reduce it to warningDenis Vlasenko
inode_hash: remove unused variable
2007-03-12swapon: random shrinkageDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
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.
2006-09-22Change license statements (and clean up headers) on some of the files thatRob Landley
Erik or I are primary copyright holders on.
2006-09-13- fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer
boilerplate. No object code changes.
2006-09-12Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley
2006-06-15Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley
fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.)
2006-03-13Patch from Denis Vlasenko to add xstat() and use it.Rob Landley
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2005-09-16accept unlimited number of swap arguments like the real swap{on,off} and ↵Mike Frysinger
shrink do_em_all a little
2005-09-13whitespace/syntax cleanups, dont mind me :pMike Frysinger
2005-09-13Cleanup patch from Tito.Rob Landley
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-11-03Test for holes in swapfilesEric Andersen
-Erik
2002-10-26last_patch64 from vodz:0_60_5Eric Andersen
The following usage from original user: $ ./busybox swapon -a Have typo problem: swapon: swapon: Operation not permitted But regular version: swapon: /dev/hda5: Operation not permitted Patch attached, reduced 9 bytes and advanced exit code also.
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-18Scrub up some function prototypes.Eric Andersen
-Erik
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-03-09Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen
warnings with glibc 2.2 and use always use xfopen -Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen
a release. Update the website with release details. -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-12Use global applet_name instead of local versions.Matt Kraai
2000-07-11Forgot to commit these cleanups it seems.Eric Andersen
-Erik
2000-07-10Remove yet more kernel header dependancies.Eric Andersen
-Erik
2000-06-19Make swaponoff compile cleanly under both libc5 and libc6.Eric Andersen
-Erik
2000-06-07* Fixed 'swapon -a' and 'swapoff -a', which were broken.Eric Andersen
* Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-03-28Yet another installment in the ongoing tar sagaErik Andersen
-Erik
2000-02-09Fixed the init problem where it wouldn't unmount filesystemsErik Andersen
on reboot. Also fixed swapoff -a so it works. -Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik