summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_parse_prs.c22
-rw-r--r--source3/registry/reg_parse_prs.h1
2 files changed, 0 insertions, 23 deletions
diff --git a/source3/registry/reg_parse_prs.c b/source3/registry/reg_parse_prs.c
index 023fd0c400..14aa3fac01 100644
--- a/source3/registry/reg_parse_prs.c
+++ b/source3/registry/reg_parse_prs.c
@@ -330,28 +330,6 @@ void prs_switch_type(prs_struct *ps, bool io)
}
/*******************************************************************
- Stream a uint8.
- ********************************************************************/
-
-bool prs_uint8(const char *name, prs_struct *ps, int depth, uint8 *data8)
-{
- char *q = prs_mem_get(ps, 1);
- if (q == NULL)
- return False;
-
- if (UNMARSHALLING(ps))
- *data8 = CVAL(q,0);
- else
- SCVAL(q,0,*data8);
-
- DEBUGADD(5,("%s%04x %s: %02x\n", tab_depth(5,depth), ps->data_offset, name, *data8));
-
- ps->data_offset += 1;
-
- return True;
-}
-
-/*******************************************************************
Stream a uint16.
********************************************************************/
diff --git a/source3/registry/reg_parse_prs.h b/source3/registry/reg_parse_prs.h
index 5b8aeabaa9..2994015272 100644
--- a/source3/registry/reg_parse_prs.h
+++ b/source3/registry/reg_parse_prs.h
@@ -72,7 +72,6 @@ bool prs_align(prs_struct *ps);
bool prs_align_uint64(prs_struct *ps);
char *prs_mem_get(prs_struct *ps, uint32 extra_size);
void prs_switch_type(prs_struct *ps, bool io);
-bool prs_uint8(const char *name, prs_struct *ps, int depth, uint8 *data8);
bool prs_uint16(const char *name, prs_struct *ps, int depth, uint16 *data16);
bool prs_uint32(const char *name, prs_struct *ps, int depth, uint32 *data32);
bool prs_uint64(const char *name, prs_struct *ps, int depth, uint64 *data64);