From: Kurt Zeilenga Date: Sun, 12 Oct 2003 22:00:17 +0000 (+0000) Subject: Add a note that plaform #ifdefs are misplaced X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~585 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef3f20a064a26d40cf61acb4450beb06bc0ff7a3;p=openldap Add a note that plaform #ifdefs are misplaced --- diff --git a/servers/slurpd/slurp.h b/servers/slurpd/slurp.h index 04db465f3e..34fe83a062 100644 --- a/servers/slurpd/slurp.h +++ b/servers/slurpd/slurp.h @@ -43,6 +43,7 @@ #include "ldif.h" #ifdef HAVE_WINSOCK + /* should be moved to portable.h.nt */ #define ftruncate(a,b) _chsize(a,b) #define truncate(a,b) _lclose( _lcreat(a, 0)) #define S_IRGRP 0 @@ -239,7 +240,6 @@ struct ri { int (*ri_process) LDAP_P(( Ri * )); /* process the next repl entry */ void (*ri_wake) LDAP_P(( Ri * )); /* wake up a sleeping thread */ }; - @@ -248,12 +248,10 @@ struct ri { * be considered private to routines in re.c, and to routines in ri.c. */ typedef struct mi { - /* Private data */ char *mi_type; /* attr or type */ char *mi_val; /* value */ int mi_len; /* length of mi_val */ - } Mi; @@ -265,7 +263,6 @@ typedef struct mi { */ typedef struct re Re; struct re { - /* Private data */ ldap_pvt_thread_mutex_t re_mutex; /* mutex for this Re */