From b0afb8fe0ff1d87165af9df61501197a06240dda Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Sun, 28 Dec 2025 12:13:40 +0100 Subject: Sync with Gnulib stable-202507 code (a8ac9f9ce5) --- gl/mountlist.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gl/mountlist.h') diff --git a/gl/mountlist.h b/gl/mountlist.h index 9728e38b..e8ba1d96 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-2024 Free Software + Copyright (C) 1991-1992, 1998, 2000-2005, 2009-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify @@ -46,8 +46,13 @@ struct mount_entry struct mount_entry *me_next; }; +/* Return a list of the currently mounted file systems, or NULL on error. + Add each entry to the tail of the list so that they stay in order. + If NEED_FS_TYPE is true, ensure that the file system type fields in + the returned list are valid. Otherwise, they might not be. */ struct mount_entry *read_file_system_list (bool need_fs_type) _GL_ATTRIBUTE_MALLOC; + void free_mount_entry (struct mount_entry *entry); -- cgit v1.2.3-74-g34f1