summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 20:46:04 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 20:46:04 +0100
commit4b74b22c4d034c8c5c018ea3bca4bb3dc364524e (patch)
treefdf0fec1efbb57da9c89f6223613777ecb7f6adc
parente5081d6dad3924ac0a816878a6af5266f87bbfb7 (diff)
downloadsamba-4b74b22c4d034c8c5c018ea3bca4bb3dc364524e.tar.gz
samba-4b74b22c4d034c8c5c018ea3bca4bb3dc364524e.tar.bz2
samba-4b74b22c4d034c8c5c018ea3bca4bb3dc364524e.zip
Remove IS_DOT and IS_DOTDOT macros, already provided by libreplace or
the system.
-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 b8e087362a..89d8994eaf 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -327,14 +327,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 ISDOT
-#define ISDOT(p) (*(p) == '.' && *((p) + 1) == '\0')
-#endif /* ISDOT */
-
-#ifndef ISDOTDOT
-#define ISDOTDOT(p) (*(p) == '.' && *((p) + 1) == '.' && *((p) + 2) == '\0')
-#endif /* ISDOTDOT */
-
#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.