summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-10 08:48:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-10 08:48:33 +0000
commit3164d06bd61ef34ed04cfe9829d905c1705f7f03 (patch)
treeedef3dcbe9eb5a46004050a385e7b92b4e4db189 /mdadm.h
parentAdding upstream version 4.2+20230508. (diff)
downloadmdadm-upstream/4.2+20230901.tar.xz
mdadm-upstream/4.2+20230901.zip
Adding upstream version 4.2+20230901.upstream/4.2+20230901
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 83f2cf7..f0ceeb7 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1805,6 +1805,7 @@ extern void set_dlm_hooks(void);
extern void sleep_for(unsigned int sec, long nsec, bool wake_after_interrupt);
extern bool is_directory(const char *path);
extern bool is_file(const char *path);
+extern int s_gethostname(char *buf, int buf_len);
#define _ROUND_UP(val, base) (((val) + (base) - 1) & ~(base - 1))
#define ROUND_UP(val, base) _ROUND_UP(val, (typeof(val))(base))