Constify fisdir() argument

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-05-09 19:10:05 +02:00
1 parent ab69ae8374
commit fcb38c9cc5
2 files changed
+2 -2

No files matched your search

+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;