Constify fisdir() argument

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-05-09 19:10:05 +02:00
parent ab69ae8374
commit fcb38c9cc5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
* Returns:
* %TRUE(1) if the file exists and is a directory, otherwise %FALSE(0).
*/
int fisdir(char *file)
int fisdir(const char *file)
{
struct stat sb;
+1 -1
View File
@@ -39,7 +39,7 @@ typedef struct lfile lfile_t;
char *chomp (char *str);
int fexist (char *file);
int fisdir (char *file);
int fisdir (const char *file);
mode_t fmode (char *file);
FILE *tempfile (void);