diff options
Diffstat (limited to 'gl/fsusage.h')
-rw-r--r-- | gl/fsusage.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gl/fsusage.h b/gl/fsusage.h index 9630b04..da87859 100644 --- a/gl/fsusage.h +++ b/gl/fsusage.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* fsusage.h -- declarations for file system space usage info | 1 | /* fsusage.h -- declarations for file system space usage info |
2 | 2 | ||
3 | Copyright (C) 1991-1992, 1997, 2003-2006, 2009-2023 Free Software | 3 | Copyright (C) 1991-1992, 1997, 2003-2006, 2009-2024 Free Software |
4 | Foundation, Inc. | 4 | Foundation, Inc. |
5 | 5 | ||
6 | This file is free software: you can redistribute it and/or modify | 6 | This file is free software: you can redistribute it and/or modify |
@@ -19,9 +19,14 @@ | |||
19 | /* Space usage statistics for a file system. Blocks are 512-byte. */ | 19 | /* Space usage statistics for a file system. Blocks are 512-byte. */ |
20 | 20 | ||
21 | #if !defined FSUSAGE_H_ | 21 | #if !defined FSUSAGE_H_ |
22 | # define FSUSAGE_H_ | 22 | #define FSUSAGE_H_ |
23 | |||
24 | #include <stdint.h> | ||
25 | |||
26 | #ifdef __cplusplus | ||
27 | extern "C" { | ||
28 | #endif | ||
23 | 29 | ||
24 | # include <stdint.h> | ||
25 | 30 | ||
26 | struct fs_usage | 31 | struct fs_usage |
27 | { | 32 | { |
@@ -36,4 +41,9 @@ struct fs_usage | |||
36 | 41 | ||
37 | int get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp); | 42 | int get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp); |
38 | 43 | ||
44 | |||
45 | #ifdef __cplusplus | ||
46 | } | ||
47 | #endif | ||
48 | |||
39 | #endif | 49 | #endif |