Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
921158f6
Commit
921158f6
authored
26 years ago
by
Hallvard Furuseth
Browse files
Options
Downloads
Patches
Plain Diff
Remove LDAP_P() from prototypes with 'Byte' arguments
parent
47032a4e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/libldap/charset.c
+6
-4
6 additions, 4 deletions
libraries/libldap/charset.c
with
6 additions
and
4 deletions
libraries/libldap/charset.c
+
6
−
4
View file @
921158f6
...
...
@@ -160,10 +160,12 @@ ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp,
typedef
unsigned
char
Byte
;
typedef
struct
{
Byte
a
,
b
;
}
Couple
;
static
Byte
*
c_to_hh
LDAP_P
((
Byte
*
o
,
Byte
c
));
static
Byte
*
c_to_cc
LDAP_P
((
Byte
*
o
,
Couple
*
cc
,
Byte
c
));
static
int
hh_to_c
LDAP_P
((
Byte
*
h
));
static
Byte
*
cc_to_t61
LDAP_P
((
Byte
*
o
,
Byte
*
s
));
/* Prototypes without LDAP_P():
* 'Byte' in definition incompatible with unprototyped declaration. */
static
Byte
*
c_to_hh
(
Byte
*
o
,
Byte
c
);
static
Byte
*
c_to_cc
(
Byte
*
o
,
Couple
*
cc
,
Byte
c
);
static
int
hh_to_c
(
Byte
*
h
);
static
Byte
*
cc_to_t61
(
Byte
*
o
,
Byte
*
s
);
/*
Character choosed as base in diacritics alone: NO-BREAK SPACE.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment