smbd: Make "check_veto_path" static
[samba.git] / source3 / smbd / filename.c
index e6327966fbdc946332d47b8eff1f51ea0623c6ab..76db5b5ad136fe5660783c094b8731912b37db43 100644 (file)
@@ -1015,7 +1015,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
  Ensure a path is not vetod.
 ****************************************************************************/
 
-NTSTATUS check_veto_path(connection_struct *conn, const char *name)
+static NTSTATUS check_veto_path(connection_struct *conn, const char *name)
 {
        if (IS_VETO_PATH(conn, name))  {
                /* Is it not dot or dot dot. */