aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/imgact_aout.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-09-25 19:34:02 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-09-25 19:34:02 +0000
commitbb56ec4a05a1131388e557b919e6ee6b2d0626c9 (patch)
tree2bdcafaa0162204e5a4853957c908b232cb276c8 /sys/kern/imgact_aout.c
parent9a89db44b80b1ad690e45dc24b5b9630b314f697 (diff)
downloadsrc-bb56ec4a05a1131388e557b919e6ee6b2d0626c9.tar.gz
src-bb56ec4a05a1131388e557b919e6ee6b2d0626c9.zip
While in the real world, I had a bad case of being swapped out for a lot of
cycles. While waiting there I added a lot of the extra ()'s I have, (I have never used LISP to any extent). So I compiled the kernel with -Wall and shut up a lot of "suggest you add ()'s", removed a bunch of unused var's and added a couple of declarations here and there. Having a lap-top is highly recommended. My kernel still runs, yell at me if you kernel breaks.
Notes
Notes: svn path=/head/; revision=3098
Diffstat (limited to 'sys/kern/imgact_aout.c')
-rw-r--r--sys/kern/imgact_aout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c
index f42f1b84da19..c700c261fda4 100644
--- a/sys/kern/imgact_aout.c
+++ b/sys/kern/imgact_aout.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: imgact_aout.c,v 1.7 1994/08/24 11:50:36 sos Exp $
+ * $Id: imgact_aout.c,v 1.8 1994/09/24 21:36:50 davidg Exp $
*/
#include <sys/param.h>
@@ -51,7 +51,7 @@ exec_aout_imgact(iparams)
struct vmspace *vmspace = iparams->proc->p_vmspace;
unsigned long vmaddr, virtual_offset, file_offset;
unsigned long bss_size;
- int error, len;
+ int error;
extern struct sysentvec aout_sysvec;
/*