From 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f Mon Sep 17 00:00:00 2001
From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>
Date: Thu, 31 Oct 2024 16:27:12 +0100
Subject: Sync with the latest Gnulib code (d4ec02b3cc)
---
gl/mountlist.h | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
(limited to 'gl/mountlist.h')
diff --git a/gl/mountlist.h b/gl/mountlist.h
index aed7f887..9728e38b 100644
--- a/gl/mountlist.h
+++ b/gl/mountlist.h
@@ -1,6 +1,6 @@
/* mountlist.h -- declarations for list of mounted file systems
- Copyright (C) 1991-1992, 1998, 2000-2005, 2009-2023 Free Software
+ Copyright (C) 1991-1992, 1998, 2000-2005, 2009-2024 Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
@@ -17,9 +17,19 @@
along with this program. If not, see . */
#ifndef MOUNTLIST_H_
-# define MOUNTLIST_H_
+#define MOUNTLIST_H_
+
+/* This file uses _GL_ATTRIBUTE_MALLOC. */
+#if !_GL_CONFIG_H_INCLUDED
+# error "Please include config.h first."
+#endif
+
+#include
+
+#ifdef __cplusplus
+extern "C" {
+#endif
-# include
/* A mount table entry. */
struct mount_entry
@@ -40,4 +50,9 @@ struct mount_entry *read_file_system_list (bool need_fs_type)
_GL_ATTRIBUTE_MALLOC;
void free_mount_entry (struct mount_entry *entry);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif
--
cgit v1.2.3-74-g34f1