diff options
| author | Eitan Adler <eadler@FreeBSD.org> | 2018-05-23 07:39:05 +0000 |
|---|---|---|
| committer | Eitan Adler <eadler@FreeBSD.org> | 2018-05-23 07:39:05 +0000 |
| commit | 0bc60783dabd6232d8a385bab228c859ae80e22a (patch) | |
| tree | 8932d4a6e05791fd851b87ea77a571b57f572c46 /sbin/devd/devd.cc | |
| parent | 958160f3ecdac980fee1e821fb3ca43888cbe936 (diff) | |
Notes
Diffstat (limited to 'sbin/devd/devd.cc')
| -rw-r--r-- | sbin/devd/devd.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index 94e9121358df..538910664cf0 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -173,7 +173,7 @@ delete_and_clear(vector<T *> &v) v.clear(); } -config cfg; +static config cfg; event_proc::event_proc() : _prio(-1) { @@ -902,10 +902,10 @@ create_socket(const char *name, int socktype) return (fd); } -unsigned int max_clients = 10; /* Default, can be overridden on cmdline. */ -unsigned int num_clients; +static unsigned int max_clients = 10; /* Default, can be overridden on cmdline. */ +static unsigned int num_clients; -list<client_t> clients; +static list<client_t> clients; void notify_clients(const char *data, int len) |
