svn commit: r307369 - head/usr.bin/sdiff

Baptiste Daroussin bapt at FreeBSD.org
Sat Oct 15 13:42:39 UTC 2016


Author: bapt
Date: Sat Oct 15 13:42:38 2016
New Revision: 307369
URL: https://svnweb.freebsd.org/changeset/base/307369

Log:
  Turn editit into a static function

Modified:
  head/usr.bin/sdiff/edit.c

Modified: head/usr.bin/sdiff/edit.c
==============================================================================
--- head/usr.bin/sdiff/edit.c	Sat Oct 15 13:41:58 2016	(r307368)
+++ head/usr.bin/sdiff/edit.c	Sat Oct 15 13:42:38 2016	(r307369)
@@ -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;


More information about the svn-src-head mailing list