diff options
author | Jeremy Allison <jra@samba.org> | 2010-06-15 15:33:44 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-06-15 15:33:44 -0700 |
commit | 81f70834caa4d77f0799506bd9c17d05d631ebd4 (patch) | |
tree | f315d1a6ebfcfd18f28688ef44bb096c45d10322 /source3/rpc_parse/parse_prs.c | |
parent | 2c125595fb03d1f3940545438bb4ec462585beb7 (diff) | |
download | samba-81f70834caa4d77f0799506bd9c17d05d631ebd4.tar.gz samba-81f70834caa4d77f0799506bd9c17d05d631ebd4.tar.bz2 samba-81f70834caa4d77f0799506bd9c17d05d631ebd4.zip |
Remove unused function.
Diffstat (limited to 'source3/rpc_parse/parse_prs.c')
-rw-r--r-- | source3/rpc_parse/parse_prs.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c index 673cb2593e..41bfd8ae0f 100644 --- a/source3/rpc_parse/parse_prs.c +++ b/source3/rpc_parse/parse_prs.c @@ -194,20 +194,6 @@ void prs_give_memory(prs_struct *ps, char *buf, uint32 size, bool is_dynamic) } /******************************************************************* - Take some memory back from a prs_struct. - ********************************************************************/ - -char *prs_take_memory(prs_struct *ps, uint32 *psize) -{ - char *ret = ps->data_p; - if(psize) - *psize = ps->buffer_size; - ps->is_dynamic = False; - prs_mem_free(ps); - return ret; -} - -/******************************************************************* Set a prs_struct to exactly a given size. Will grow or tuncate if neccessary. ********************************************************************/ |