s3-registry: Remove unused prs_uint8()
[ira/wip.git] / source3 / registry / reg_parse_prs.c
index 023fd0c400d6413d139dc4b13cb3bdb8b6ed2986..14aa3fac0181653e939732de513f721fa65f9d7a 100644 (file)
@@ -329,28 +329,6 @@ void prs_switch_type(prs_struct *ps, bool io)
                ps->io=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.
  ********************************************************************/