mirror of
https://github.com/troglobit/libite.git
synced 2026-11-08 16:11:05 +00:00
Constify fisdir() argument
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
ab69ae8374
commit
fcb38c9cc5
2 files changed
+2
-2
No files matched your search
@@ -32,7 +32,7 @@
|
|||||||
* Returns:
|
* Returns:
|
||||||
* %TRUE(1) if the file exists and is a directory, otherwise %FALSE(0).
|
* %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;
|
struct stat sb;
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ typedef struct lfile lfile_t;
|
|||||||
char *chomp (char *str);
|
char *chomp (char *str);
|
||||||
|
|
||||||
int fexist (char *file);
|
int fexist (char *file);
|
||||||
int fisdir (char *file);
|
int fisdir (const char *file);
|
||||||
mode_t fmode (char *file);
|
mode_t fmode (char *file);
|
||||||
|
|
||||||
FILE *tempfile (void);
|
FILE *tempfile (void);
|
||||||
|
|||||||
Reference in new issue
Block a user