Add some const
authorVolker Lendecke <vl@samba.org>
Thu, 14 May 2009 09:47:09 +0000 (11:47 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 14 May 2009 10:15:10 +0000 (12:15 +0200)
source3/param/loadparm.c

index da0bf17720c61105e3d388c09b729e7594ad40c5..2ea3a167b7734baa96d419f0e2bad1526c42f284 100644 (file)
@@ -8323,7 +8323,8 @@ static void set_allowed_client_auth(void)
  get their sorry ass fired.
 ***************************************************************************/
 
-static bool check_usershare_stat(const char *fname, SMB_STRUCT_STAT *psbuf)
+static bool check_usershare_stat(const char *fname,
+                                const SMB_STRUCT_STAT *psbuf)
 {
        if (!S_ISREG(psbuf->st_mode)) {
                DEBUG(0,("check_usershare_stat: file %s owned by uid %u is "