diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index fdd2b98c56..8c5ea1d208 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2602,31 +2602,6 @@ enum remote_arch_types get_remote_arch(void) } -/******************************************************************* -align a pointer to a multiple of 2 bytes -********************************************************************/ -char *align2(char *q, char *base) -{ - if (PTR_DIFF(q, base) & 1) - { - q++; - } - return q; -} - -/******************************************************************* - align a pointer to a multiple of 4 bytes. - ********************************************************************/ -char *align4(char *q, char *base) -{ - int mod = PTR_DIFF(q, base) & 3; - if (mod != 0) - { - q += 4-mod; - } - return q; -} - void out_ascii(FILE *f, unsigned char *buf,int len) { int i; |