summaryrefslogtreecommitdiffstats
path: root/source3/include/smb_macros.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-11-09 12:48:09 +0000
committerJeremy Allison <jra@samba.org>2014-11-14 00:31:16 +0100
commit04a9a1ac6def992fe0ed97ad96b706bec709ec18 (patch)
tree248b0ef3cbed519707456954994bb74ef9d1fcd2 /source3/include/smb_macros.h
parent2dab2f0f73160bafcaa3aa4cce7dcccc1ddcb3ba (diff)
downloadsamba-04a9a1ac6def992fe0ed97ad96b706bec709ec18.tar.gz
samba-04a9a1ac6def992fe0ed97ad96b706bec709ec18.tar.xz
samba-04a9a1ac6def992fe0ed97ad96b706bec709ec18.zip
lib: Slightly simplify strupper_m
toupper_ascii_fast_table is only referenced here, make it static. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Nov 14 00:31:16 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/include/smb_macros.h')
-rw-r--r--source3/include/smb_macros.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index cd47950cca..42a97569e2 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -292,14 +292,6 @@ do { \
#define ADD_TO_LARGE_ARRAY(mem_ctx, type, elem, array, num, size) \
add_to_large_array((mem_ctx), sizeof(type), &(elem), (void *)(array), (num), (size));
-#ifndef toupper_ascii_fast
-/* Warning - this must only be called with 0 <= c < 128. IT WILL
- * GIVE GARBAGE if c > 128 or c < 0. JRA.
- */
-extern const char toupper_ascii_fast_table[];
-#define toupper_ascii_fast(c) toupper_ascii_fast_table[(unsigned int)(c)];
-#endif
-
#define trans_oob(bufsize, offset, length) \
smb_buffer_oob(bufsize, offset, length)