Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2018 08:43:05 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336866 - head/sbin/devd
Message-ID:  <201807290843.w6T8h503010668@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Jul 29 08:43:05 2018
New Revision: 336866
URL: https://svnweb.freebsd.org/changeset/base/336866

Log:
  devd: use static where possible

Modified:
  head/sbin/devd/devd.cc

Modified: head/sbin/devd/devd.cc
==============================================================================
--- head/sbin/devd/devd.cc	Sun Jul 29 07:51:42 2018	(r336865)
+++ head/sbin/devd/devd.cc	Sun Jul 29 08:43:05 2018	(r336866)
@@ -904,7 +904,7 @@ process_event(char *buffer)
 	cfg.pop_var_table();
 }
 
-int
+static int
 create_socket(const char *name, int socktype)
 {
 	int fd, slen;
@@ -934,7 +934,7 @@ static unsigned int num_clients;
 
 static list<client_t> clients;
 
-void
+static void
 notify_clients(const char *data, int len)
 {
 	list<client_t>::iterator i;
@@ -964,7 +964,7 @@ notify_clients(const char *data, int len)
 	}
 }
 
-void
+static void
 check_clients(void)
 {
 	int s;
@@ -994,7 +994,7 @@ check_clients(void)
 	}
 }
 
-void
+static void
 new_client(int fd, int socktype)
 {
 	client_t s;



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