X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffsusage.h;h=227c5b455cdb32a82783ec5f584f04db17354737;hb=58dc681a9b810db4f7fc8b47d6c216bb169b7da4;hp=c3779c19ee8a8e2072f4278a6e590c6991dbe2b3;hpb=d87c39464604e74f580c7fae835be31a4c125c36;p=gnulib.git diff --git a/lib/fsusage.h b/lib/fsusage.h index c3779c19e..227c5b455 100644 --- a/lib/fsusage.h +++ b/lib/fsusage.h @@ -12,8 +12,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Space usage statistics for a filesystem. Blocks are 512-byte. */ struct fs_usage @@ -25,8 +25,13 @@ struct fs_usage long fsu_ffree; /* Free file nodes. */ }; -#if __STDC__ -int get_fs_usage (char *path, char *disk, struct fs_usage *fsp); +#ifndef __P +#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +#define __P(args) args #else -int get_fs_usage (); -#endif +#define __P(args) () +#endif /* GCC. */ +#endif /* Not __P. */ + +int get_fs_usage __P ((const char *path, const char *disk, + struct fs_usage *fsp));