Remove IS_DOT and IS_DOTDOT macros, already provided by libreplace or
authorJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 19:46:04 +0000 (20:46 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 19:46:04 +0000 (20:46 +0100)
the system.

source3/include/smb_macros.h

index b8e087362a6a6b792c50060f64cbfaa5cad95def..89d8994eaf6aa3a604556e1f704c26a704560d0b 100644 (file)
@@ -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.