projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: fix a few missing include guards
[collectd.git]
/
src
/
utils
/
proc_pids
/
proc_pids.h
diff --git
a/src/utils/proc_pids/proc_pids.h
b/src/utils/proc_pids/proc_pids.h
index
8b19497
..
9170398
100644
(file)
--- a/
src/utils/proc_pids/proc_pids.h
+++ b/
src/utils/proc_pids/proc_pids.h
@@
-27,6
+27,9
@@
* Michał Aleksiński <michalx.aleksinski@intel.com>
**/
* Michał Aleksiński <michalx.aleksinski@intel.com>
**/
+#ifndef UTILS_PROC_PIDS_PROC_PIDS_H
+#define UTILS_PROC_PIDS_PROC_PIDS_H 1
+
#include <dirent.h>
#include <sys/types.h>
#include <dirent.h>
#include <sys/types.h>
@@
-224,3
+227,5
@@
int proc_pids_update(const char *procfs_path, proc_pids_t *proc_pids[],
* 0 on success. -1 on error.
*/
int proc_pids_free(proc_pids_t *proc_pids[], size_t proc_pids_num);
* 0 on success. -1 on error.
*/
int proc_pids_free(proc_pids_t *proc_pids[], size_t proc_pids_num);
+
+#endif /* UTILS_PROC_PIDS_PROC_PIDS_H */