summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_shell.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-02 16:32:03 +0000
committerbde <bde@FreeBSD.org>1995-12-02 16:32:03 +0000
commit5f43488dec8aabd1cd70951ccc1cbc31b2640ef2 (patch)
tree922794162d1c9c536a1c4167f638a62ecf94053a /sys/kern/imgact_shell.c
parentd777ddd2a9c4077204f56d5025b3adfddaff5d0b (diff)
downloadFreeBSD-src-5f43488dec8aabd1cd70951ccc1cbc31b2640ef2.zip
FreeBSD-src-5f43488dec8aabd1cd70951ccc1cbc31b2640ef2.tar.gz
Staticized.
Added prototypes.
Diffstat (limited to 'sys/kern/imgact_shell.c')
-rw-r--r--sys/kern/imgact_shell.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c
index 59c95fe..db1b6ba 100644
--- a/sys/kern/imgact_shell.c
+++ b/sys/kern/imgact_shell.c
@@ -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;
{
OpenPOWER on IntegriCloud