diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-12 00:49:51 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-12 00:49:51 (GMT) |
commit | fbf1e60f477460205c2002bb34b87f9e1e3b0faf (patch) | |
tree | 96d568de54259a8b1f8e6a88dbb533037ef730e5 /lib/fsusage.h | |
parent | dbe8fb585697e3a7c073cef083ff2fb027b76968 (diff) | |
download | monitoring-plugins-fbf1e60f477460205c2002bb34b87f9e1e3b0faf.tar.gz |
Update to using coreutils 5.2.1 libraries and snprintf.c from samba 3.0.8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@895 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/fsusage.h')
-rw-r--r-- | lib/fsusage.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/fsusage.h b/lib/fsusage.h index e0c0db5..e2cbbf1 100644 --- a/lib/fsusage.h +++ b/lib/fsusage.h | |||
@@ -1,5 +1,6 @@ | |||
1 | /* fsusage.h -- declarations for filesystem space usage info | 1 | /* fsusage.h -- declarations for filesystem space usage info |
2 | Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc. | 2 | |
3 | Copyright (C) 1991, 1992, 1997, 2003 Free Software Foundation, Inc. | ||
3 | 4 | ||
4 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
@@ -31,15 +32,6 @@ struct fs_usage | |||
31 | uintmax_t fsu_ffree; /* Free file nodes. */ | 32 | uintmax_t fsu_ffree; /* Free file nodes. */ |
32 | }; | 33 | }; |
33 | 34 | ||
34 | # ifndef PARAMS | 35 | int get_fs_usage (const char *path, const char *disk, struct fs_usage *fsp); |
35 | # if defined PROTOTYPES || (defined __STDC__ && __STDC__) | ||
36 | # define PARAMS(Args) Args | ||
37 | # else | ||
38 | # define PARAMS(Args) () | ||
39 | # endif | ||
40 | # endif | ||
41 | |||
42 | int get_fs_usage PARAMS ((const char *path, const char *disk, | ||
43 | struct fs_usage *fsp)); | ||
44 | 36 | ||
45 | #endif | 37 | #endif |