Use const where it should be used.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@407 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-04-05 11:26:34 +00:00
parent db4ff30f38
commit 6c6094538f
5 changed files with 15 additions and 13 deletions

View File

@@ -95,7 +95,7 @@ char *ssh_get_user_home_dir(void) {
#endif
/* we have read access on file */
int ssh_file_readaccess_ok(char *file){
int ssh_file_readaccess_ok(const char *file){
if(!access(file,R_OK))
return 1;
return 0;