Staticized.
Added prototypes.
This commit is contained in:
parent
ee0bc7c399
commit
7ee050b70c
@ -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.16 1995/09/08 13:24:32 davidg Exp $
|
||||
* $Id: imgact_aout.c,v 1.17 1995/11/06 12:52:29 davidg Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -43,7 +43,9 @@
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
||||
int
|
||||
static int exec_aout_imgact __P((struct image_params *imgp));
|
||||
|
||||
static int
|
||||
exec_aout_imgact(imgp)
|
||||
struct image_params *imgp;
|
||||
{
|
||||
@ -207,4 +209,3 @@ exec_aout_imgact(imgp)
|
||||
*/
|
||||
static const struct execsw aout_execsw = { exec_aout_imgact, "a.out" };
|
||||
TEXT_SET(execsw_set, aout_execsw);
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: imgact_gzip.c,v 1.14 1995/05/30 08:05:18 rgrimes Exp $
|
||||
* $Id: imgact_gzip.c,v 1.15 1995/11/06 12:52:30 davidg Exp $
|
||||
*
|
||||
* This module handles execution of a.out files which have been run through
|
||||
* "gzip". This saves diskspace, but wastes cpu-cycles and VM.
|
||||
@ -48,11 +48,12 @@ struct imgact_gzip {
|
||||
u_long virtual_offset, file_offset, file_end, bss_size;
|
||||
};
|
||||
|
||||
static int exec_gzip_imgact __P((struct image_params *imgp));
|
||||
static int NextByte __P((void *vp));
|
||||
static int do_aout_hdr __P((struct imgact_gzip *));
|
||||
static int Flush __P((void *vp, u_char *, u_long siz));
|
||||
|
||||
int
|
||||
static int
|
||||
exec_gzip_imgact(imgp)
|
||||
struct image_params *imgp;
|
||||
{
|
||||
|
@ -28,7 +28,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: imgact_shell.c,v 1.8 1995/10/08 00:05:58 swallace Exp $
|
||||
* $Id: imgact_shell.c,v 1.9 1995/11/06 12:52:31 davidg Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -48,11 +48,13 @@
|
||||
|
||||
#define MAXSHELLCMDLEN 64
|
||||
|
||||
static int exec_shell_imgact __P((struct image_params *imgp));
|
||||
|
||||
/*
|
||||
* Shell interpreter image activator. A interpreter name beginning
|
||||
* at imgp->stringbase is the minimal successful exit requirement.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
exec_shell_imgact(imgp)
|
||||
struct image_params *imgp;
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user