]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - misc/lnstat.h
Merge branch 'main' into next
[mirror_iproute2.git] / misc / lnstat.h
index 8bd7ede982931ec62005305b37cf7b4854065e40..433599ccd9113c293838bd3a4e68152f7611add8 100644 (file)
@@ -1,9 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _LNSTAT_H
 #define _LNSTAT_H
 
 #include <limits.h>
-
-#define LNSTAT_VERSION "0.02 041002"
+#include <sys/select.h>
 
 #define PROC_NET_STAT  "/proc/net/stat"
 
@@ -39,5 +39,5 @@ struct lnstat_file *lnstat_scan_dir(const char *path, const int num_req_files,
 int lnstat_update(struct lnstat_file *lnstat_files);
 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files);
 struct lnstat_field *lnstat_find_field(struct lnstat_file *lnstat_files,
-                                      char *name);
+                                      const char *name);
 #endif /* _LNSTAT_H */