summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-08 12:55:28 +1000
committerAndrew Tridgell <tridge@samba.org>2011-04-13 14:47:07 +1000
commitb2e37d9ce12627883ff18ab22ed9d3b6233f6baf (patch)
tree9b03862a422a4ccdac26cf71c8d9c25771f43a4c /source3/lib
parent2eea91957c90d6a5960b5350d2c4664812260a7b (diff)
downloadsamba-b2e37d9ce12627883ff18ab22ed9d3b6233f6baf.tar.gz
samba-b2e37d9ce12627883ff18ab22ed9d3b6233f6baf.tar.bz2
samba-b2e37d9ce12627883ff18ab22ed9d3b6233f6baf.zip
lib/util ucs2_align is identical, put it in common
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charcnv.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index edcccc25e7..a8719070c3 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -632,13 +632,6 @@ char *strlower_talloc(TALLOC_CTX *ctx, const char *s) {
return talloc_strdup_lower(ctx, s);
}
-size_t ucs2_align(const void *base_ptr, const void *p, int flags)
-{
- if (flags & (STR_NOALIGN|STR_ASCII))
- return 0;
- return PTR_DIFF(p, base_ptr) & 1;
-}
-
/**
* Copy a string from a char* unix src to a dos codepage string destination.