implemented openbsd netspeed functions

implemented the netspeed functionality for openbsd.
furthermore the static keyword was removed of the interval variable in
config.def.h for usage as extern variable.
This commit is contained in:
Tobias Tschinkowitz authored and Aaron Marcher committed 2018-05-19 01:44:36 +02:00
1 parent 176d8ff874
commit 22175f0d57
2 files changed
+60 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* interval between updates (in ms) */
static const unsigned int interval = 1000;
const unsigned int interval = 1000;
/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";