Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
f471a293
Commit
f471a293
authored
20 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Un-do changes for WinCE; cdecl decoration is not needed. Confirmed by Paul Nolan.
parent
c6881660
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
lib/mprintf.c
+3
-14
3 additions, 14 deletions
lib/mprintf.c
with
3 additions
and
14 deletions
lib/mprintf.c
+
3
−
14
View file @
f471a293
...
...
@@ -40,12 +40,6 @@
#include
<curl/mprintf.h>
#ifdef _WIN32_WCE
#define CURL_CDECL __cdecl
#else
#define CURL_CDECL
#endif
#ifndef SIZEOF_LONG_DOUBLE
#define SIZEOF_LONG_DOUBLE 0
#endif
...
...
@@ -589,12 +583,7 @@ static int dprintf_formatf(
void
*
data
,
/* untouched by format(), just sent to the stream() function in
the second argument */
/* function pointer called for each output character */
#ifdef _WIN32_WCE
int
(
__cdecl
*
stream
)
(
int
,
FILE
*
),
#else
int
(
*
stream
)(
int
,
FILE
*
),
#endif
const
char
*
format
,
/* %-formatted string */
va_list
ap_save
)
/* list of parameters */
{
...
...
@@ -990,7 +979,7 @@ static int dprintf_formatf(
}
/* fputc() look-alike */
static
int
CURL_CDECL
addbyter
(
int
output
,
FILE
*
data
)
static
int
addbyter
(
int
output
,
FILE
*
data
)
{
struct
nsprintf
*
infop
=
(
struct
nsprintf
*
)
data
;
unsigned
char
outc
=
(
unsigned
char
)
output
;
...
...
@@ -1038,7 +1027,7 @@ int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...)
}
/* fputc() look-alike */
static
int
CURL_CDECL
alloc_addbyter
(
int
output
,
FILE
*
data
)
static
int
alloc_addbyter
(
int
output
,
FILE
*
data
)
{
struct
asprintf
*
infop
=
(
struct
asprintf
*
)
data
;
unsigned
char
outc
=
(
unsigned
char
)
output
;
...
...
@@ -1124,7 +1113,7 @@ char *curl_mvaprintf(const char *format, va_list ap_save)
return
strdup
(
""
);
}
static
int
CURL_CDECL
storebuffer
(
int
output
,
FILE
*
data
)
static
int
storebuffer
(
int
output
,
FILE
*
data
)
{
char
**
buffer
=
(
char
**
)
data
;
unsigned
char
outc
=
(
unsigned
char
)
output
;
...
...
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