summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-12missing protos and an unused variableTheo de Raadt
2013-11-12add missing protosTheo de Raadt
2013-11-12handle lack of prototypeTheo de Raadt
2013-11-12missing protosTheo de Raadt
2013-11-12prototype the mess of functions insideTheo de Raadt
2013-11-12satisfy proto requirementTheo de Raadt
2013-11-12avoid math on void * pointers; delete an unused variableTheo de Raadt
2013-11-12prototypes, some pleasing of gcc, and cleanup an unused variableTheo de Raadt
2013-11-12deal with lack of prototypeTheo de Raadt
2013-11-12Add parentheses around comparison in operand of ^. Pointed out by theo.Martynas Venckus
2013-11-12Add explicit braces to avoid ambiguous else. Pointed out by theo.Martynas Venckus
2013-11-12bring prototypes into scopeTheo de Raadt
2013-11-12Implement sd card detection. Fixes the `sdmmc0: can't enable card' on bbbFederico G. Schwindt
when there is no card. Tested on pandaboard by patrick@, ok patrick@ and syl@
2013-11-12Do not use a char as index, unless first making it unsigned.Theo de Raadt
(signed char, ya know) ok espie
2013-11-12Use daddr_t to hold calculated disk sector address. %d -> %lld toKenneth R Westerback
match. Whitespace tweaks. All bringing this chunk into identity with same chunk in sparc64 fd.c.
2013-11-12Make variables inside get_responsefile() local.Robert Peichaer
ok krw@ halex@
2013-11-12Apply format __attribute__ to _kvm_err() and fix the errors that it detects.Philip Guenther
Treat failure to KREAD teh pcredd or ucreds to be errors insteading of continuing with bogus data. ok deraadt@ millert@
2013-11-12Tweak comment to explicitly mention that disk blocks are DEV_BSIZEKenneth R Westerback
(a.k.a. 512-bytes) as far as ffs is concerned.
2013-11-12Use %llu+DL_GETPSIZE() to show partition size. Replace %li+(long) withKenneth R Westerback
%u for u_int32_t d_secsize.
2013-11-12remove more code accidentally left behind during the a.out purgeTheo de Raadt
2013-11-12We always make symlinks to 'machine' and 'm88k' to compile.Kenji Aoyama
ok miod@
2013-11-12Fix the bootloader random hang-up while counting down on LUNA-88K2.Kenji Aoyama
The same logic is also applied to luna88k/dev/timekeeper.c. suggested and ok miod@
2013-11-12simpler prototype repairsTheo de Raadt
2013-11-12pull in local .h files to satisfy protoTheo de Raadt
2013-11-12Rework get_responsefile()Robert Peichaer
- Take netboot interface down and so kill a dhclient from a previous attempt and to free up the only bpf which exists in this installstage. Without this, we're not able to "restart" autoinstall because dhclient fails due to lack of bpf's. dhclient takes the interface up again. - Remove -s leasefile check, it's implicitly done with -n SERVER check. - Avoid possible sed error msgs by redirecting STDERR to /dev/null. - Fetch install.conf in a ftp on-liner whithout unneccessary URL var. - Shorten -s install.conf check, - [] -> [[]] for consistency ok krw@
2013-11-12remove the code that iterates over binary types, since everything is nowTheo de Raadt
ELF.
2013-11-12unused variable in the shadowsTheo de Raadt
2013-11-12ANSI prototypesTheo de Raadt
2013-11-12a __fputwc_unlock() prototype was available in fvwrite.h, so use thatTheo de Raadt
2013-11-12both files contain a function which should only be static.Theo de Raadt
not cranking libc over this (unless an issue is found in ports)
2013-11-12permute15() should be static. Not cranking libc now, because it isTheo de Raadt
not urgent.
2013-11-12insert the proper arguments into a prototypeTheo de Raadt
2013-11-12avoid arithetic on void *Theo de Raadt
ok guenther otto
2013-11-12internalize some functions so that they do not need prototypesTheo de Raadt
ok ratchov
2013-11-12remove bogus legacy server-specific bits that cause confusionAlexandre Ratchov
2013-11-12ANSI prototypeTheo de Raadt
2013-11-12pull in missing includes (math.h, unistd.h, stdlib.h) needed forTheo de Raadt
prototypes
2013-11-12pull in stdlib.h as requiredTheo de Raadt
2013-11-12add proto for amd64 case; unify otherwiseTheo de Raadt
2013-11-12ttyslot() needs <stdlib.h>Theo de Raadt
ok guenther
2013-11-12a missing prototypesTheo de Raadt
and don't act like an unknown vnode type is "ok"
2013-11-12add a variety of missing prototypesTheo de Raadt
2013-11-12repair the last prototype by bringing in monitor.hTheo de Raadt
2013-11-12add a variety of missing prototypesTheo de Raadt
2013-11-12Use DL_GETDSIZE() to get disk size.Kenneth R Westerback
2013-11-12Use DL_[GET|SET]POFFSET() and DL_[GET|SET]PSIZE() to get and setKenneth R Westerback
partition offsets and sizes.
2013-11-12try bpf.c r1.84 again, this time without semantic changes to if statements.David Gwynne
cheers to sthen@ and krw@ for properly dealing with the fallout of my first commit.
2013-11-11unused variableTheo de Raadt
2013-11-11oops, forgot a #ifdef AOE in last commitTheo de Raadt
2013-11-11unused prototypeTheo de Raadt