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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to