]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Remove unused code, make fns static
authorVolker Lendecke <vl@samba.org>
Sat, 16 Feb 2008 19:29:49 +0000 (20:29 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 16 Feb 2008 19:31:04 +0000 (20:31 +0100)
source/rpc_parse/parse_sec.c

index 6ea128d3a49cf61c9ecc902ea7d54d889cd4a5fd..c71b31086a4dde832c7396879ffc4a729df1d93d 100644 (file)
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_RPC_PARSE
 
-/*******************************************************************
- Reads or writes a SEC_ACCESS structure.
-********************************************************************/
-
-bool sec_io_access(const char *desc, SEC_ACCESS *t, prs_struct *ps, int depth)
-{
-       if (t == NULL)
-               return False;
-
-       prs_debug(ps, depth, desc, "sec_io_access");
-       depth++;
-       
-       if(!prs_uint32("mask", ps, depth, t))
-               return False;
-
-       return True;
-}
-
 /*******************************************************************
  Reads or writes a SEC_ACE structure.
 ********************************************************************/
 
-bool sec_io_ace(const char *desc, SEC_ACE *psa, prs_struct *ps, int depth)
+static bool sec_io_ace(const char *desc, SEC_ACE *psa, prs_struct *ps,
+                      int depth)
 {
        uint32 old_offset;
        uint32 offset_ace_size;
@@ -130,7 +113,8 @@ bool sec_io_ace(const char *desc, SEC_ACE *psa, prs_struct *ps, int depth)
  for you as it reads them.
 ********************************************************************/
 
-bool sec_io_acl(const char *desc, SEC_ACL **ppsa, prs_struct *ps, int depth)
+static bool sec_io_acl(const char *desc, SEC_ACL **ppsa, prs_struct *ps,
+                      int depth)
 {
        unsigned int i;
        uint32 old_offset;