Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
85990be2
Commit
85990be2
authored
Oct 13, 2003
by
Kurt Zeilenga
Browse files
Minor tweak to last commit
parent
a2f36ae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/lber_pvt.h
View file @
85990be2
...
...
@@ -22,10 +22,9 @@
LDAP_BEGIN_DECL
/* for allocating aligned buffers (on the stack) */
#define LBER_ALIGN_BUFFER(uname,size) \
union
LDAP_CONCAT(lber_,
uname
)
{ \
#define LBER_ALIGN
ED
_BUFFER(uname,size) \
union uname { \
char buffer[size]; \
\
/* force alignment */
\
int ialign; \
long lalign; \
...
...
@@ -35,7 +34,8 @@ LDAP_BEGIN_DECL
}
#define LBER_ELEMENT_SIZEOF (256)
/* must be >= sizeof(BerElement) */
typedef
LBER_ALIGN_BUFFER
(
berelement_u
,
LBER_ELEMENT_SIZEOF
)
BerElementBuffer
;
typedef
LBER_ALIGNED_BUFFER
(
lber_berelement_u
,
LBER_ELEMENT_SIZEOF
)
BerElementBuffer
;
typedef
struct
sockbuf_buf
{
ber_len_t
buf_size
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment