[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2313-g5c762c6

Volker Lendecke vl at samba.org
Sat Feb 16 21:13:44 GMT 2008


The branch, v3-2-test has been updated
       via  5c762c6d57dce1016ebe2613a75b492eeac84c3d (commit)
      from  2c235d2f37522e3a836524a6a165a930bff099a4 (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 5c762c6d57dce1016ebe2613a75b492eeac84c3d
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Feb 16 20:29:49 2008 +0100

    Remove unused code, make fns static

-----------------------------------------------------------------------

Summary of changes:
 source/rpc_parse/parse_sec.c |   24 ++++--------------------
 1 files changed, 4 insertions(+), 20 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_parse/parse_sec.c b/source/rpc_parse/parse_sec.c
index 6ea128d..c71b310 100644
--- a/source/rpc_parse/parse_sec.c
+++ b/source/rpc_parse/parse_sec.c
@@ -27,28 +27,11 @@
 #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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list