Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2016 13:42:38 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307369 - head/usr.bin/sdiff
Message-ID:  <201610151342.u9FDgcpF058142@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610151342.u9FDgcpF058142>