diff options
author | jkh <jkh@FreeBSD.org> | 1996-12-12 08:33:38 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-12-12 08:33:38 +0000 |
commit | 61be8f66cf7d37967637bc2fac3191f514c220de (patch) | |
tree | e55bd7f41e2d91b60c93866ae2102986a547ec2d /release/sysinstall/sysinstall.h | |
parent | 29d7f1c31842286de505e626253394a7df40547d (diff) | |
download | FreeBSD-src-61be8f66cf7d37967637bc2fac3191f514c220de.zip FreeBSD-src-61be8f66cf7d37967637bc2fac3191f514c220de.tar.gz |
Undo one of my memory optimization hacks - it actually made things more
complicated.
Diffstat (limited to 'release/sysinstall/sysinstall.h')
-rw-r--r-- | release/sysinstall/sysinstall.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/release/sysinstall/sysinstall.h b/release/sysinstall/sysinstall.h index a121167..3ee4ec8 100644 --- a/release/sysinstall/sysinstall.h +++ b/release/sysinstall/sysinstall.h @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: sysinstall.h,v 1.91 1996/12/11 09:35:05 jkh Exp $ + * $Id: sysinstall.h,v 1.92 1996/12/11 18:23:19 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -179,8 +179,8 @@ typedef struct _variable { #define MAX_VALUE 256 typedef struct _attribs { - char *name; - char *value; + char name[MAX_NAME]; + char value[MAX_VALUE]; } Attribs; typedef enum { @@ -211,7 +211,6 @@ typedef struct _device { Boolean enabled; Boolean (*init)(struct _device *dev); FILE * (*get)(struct _device *dev, char *file, Boolean probe); - Boolean (*close)(struct _device *dev, FILE *fp); void (*shutdown)(struct _device *dev); void *private; unsigned int flags; @@ -355,7 +354,6 @@ extern int configAnonFTP(dialogMenuItem *self); extern char *attr_match(Attribs *attr, char *name); extern int attr_parse_file(Attribs *attr, char *file); extern int attr_parse(Attribs *attr, FILE *fp); -extern void attr_free(Attribs *attr); /* cdrom.c */ extern Boolean mediaInitCDROM(Device *dev); |