Turn editit into a static function

This commit is contained in:
bapt 2016-10-15 13:42:38 +00:00
parent 5caa25d51a
commit f7a9447d0e

View File

@ -24,15 +24,13 @@ __FBSDID("$FreeBSD$");
#include "common.h"
#include "extern.h"
int editit(const char *);
/*
* Execute an editor on the specified pathname, which is interpreted
* from the shell. This means flags may be included.
*
* Returns -1 on error, or the exit value on success.
*/
int
static int
editit(const char *pathname)
{
sig_t sighup, sigint, sigquit, sigchld;