From 9eb4658295746cc5202764d6aeabd4939d7dc89e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 28 Apr 2005 16:48:14 +0000 Subject: * file-type.c: Include file-type.h first. * filetype.h: Don't assume was included first. --- lib/file-type.c | 6 +++--- lib/file-type.h | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/file-type.c b/lib/file-type.c index 6c25e77ba..93fff71b1 100644 --- a/lib/file-type.c +++ b/lib/file-type.c @@ -1,6 +1,7 @@ /* Return a string describing the type of a file. - Copyright (C) 1993, 1994, 2001, 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 2001, 2002, 2004, 2005 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,9 +23,8 @@ # include #endif -#include -#include #include "file-type.h" + #include "stat-macros.h" #include diff --git a/lib/file-type.h b/lib/file-type.h index afe2f9444..ebbe95b4f 100644 --- a/lib/file-type.h +++ b/lib/file-type.h @@ -1,6 +1,7 @@ /* Return a string describing the type of a file. - Copyright (C) 1993, 1994, 2001, 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 2001, 2002, 2004, 2005 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,6 +22,9 @@ #ifndef FILE_TYPE_H # define FILE_TYPE_H 1 +# include +# include + char const *file_type (struct stat const *); #endif /* FILE_TYPE_H */ -- cgit v1.2.3-54-g00ecf