r11767: Doesn't need to be exported.
authorJeremy Allison <jra@samba.org>
Thu, 17 Nov 2005 22:39:00 +0000 (22:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:27 +0000 (11:05 -0500)
Jeremy.
(This used to be commit 52b6f0db2e4a209641187255bd8815c8d03a5315)

source3/smbd/dosmode.c

index 814d008cbbeee053ab3b9a3ba2dad86fa5cc9340..5dfeddb80acc3ce0fc59454b9f1d5798c113c162 100644 (file)
@@ -126,7 +126,7 @@ mode_t unix_mode(connection_struct *conn, int dosmode, const char *fname, BOOL c
  Change a unix mode to a dos mode.
 ****************************************************************************/
 
-uint32 dos_mode_from_sbuf(connection_struct *conn, const char *path, SMB_STRUCT_STAT *sbuf)
+static uint32 dos_mode_from_sbuf(connection_struct *conn, const char *path, SMB_STRUCT_STAT *sbuf)
 {
        int result = 0;
        enum mapreadonly_options ro_opts = (enum mapreadonly_options)lp_map_readonly(SNUM(conn));