aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-05 12:19:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-05 12:19:42 +0000
commit6403257886fffe9d320099dfa019620c6c1f8dee (patch)
tree1dac8d1649fd80636db7b37881c244656735ecbc /lib
parent4031104404c6ceed5e57134125dcdb6cac51c564 (diff)
renamed Curl_ to curl_ for the printf() prefixes
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
-rw-r--r--lib/mprintf.c26
2 files changed, 14 insertions, 14 deletions
diff --git a/lib/http.c b/lib/http.c
index 555845abb..aa96ed0af 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -161,7 +161,7 @@ CURLcode add_bufferf(send_buffer *in, char *fmt, ...)
char *s;
va_list ap;
va_start(ap, fmt);
- s = Curl_mvaprintf(fmt, ap); /* this allocs a new string to append */
+ s = vaprintf(fmt, ap); /* this allocs a new string to append */
va_end(ap);
if(s) {
diff --git a/lib/mprintf.c b/lib/mprintf.c
index dd6dbabad..1bf9a6e72 100644
--- a/lib/mprintf.c
+++ b/lib/mprintf.c
@@ -207,7 +207,7 @@ struct asprintf {
size_t alloc; /* length of alloc */
};
-int Curl_msprintf(char *buffer, const char *format, ...);
+int curl_msprintf(char *buffer, const char *format, ...);
static int dprintf_DollarString(char *input, char **end)
{
@@ -955,11 +955,11 @@ static int dprintf_formatf(
if(width >= 0) {
/* RECURSIVE USAGE */
- fptr += Curl_msprintf(fptr, "%d", width);
+ fptr += curl_msprintf(fptr, "%d", width);
}
if(prec >= 0) {
/* RECURSIVE USAGE */
- fptr += Curl_msprintf(fptr, ".%d", prec);
+ fptr += curl_msprintf(fptr, ".%d", prec);
}
if (p->flags & FLAGS_LONG)
strcat(fptr, "l");
@@ -1025,7 +1025,7 @@ static int addbyter(int output, FILE *data)
return -1;
}
-int Curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...)
+int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...)
{
va_list ap_save; /* argument pointer */
int retcode;
@@ -1045,7 +1045,7 @@ int Curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...)
return retcode;
}
-int Curl_mvsnprintf(char *buffer, size_t maxlength, const char *format, va_list ap_save)
+int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format, va_list ap_save)
{
int retcode;
struct nsprintf info;
@@ -1092,7 +1092,7 @@ static int alloc_addbyter(int output, FILE *data)
}
-char *Curl_maprintf(const char *format, ...)
+char *curl_maprintf(const char *format, ...)
{
va_list ap_save; /* argument pointer */
int retcode;
@@ -1113,7 +1113,7 @@ char *Curl_maprintf(const char *format, ...)
return NULL;
}
-char *Curl_mvaprintf(const char *format, va_list ap_save)
+char *curl_mvaprintf(const char *format, va_list ap_save)
{
int retcode;
struct asprintf info;
@@ -1140,7 +1140,7 @@ static int storebuffer(int output, FILE *data)
return output; /* act like fputc() ! */
}
-int Curl_msprintf(char *buffer, const char *format, ...)
+int curl_msprintf(char *buffer, const char *format, ...)
{
va_list ap_save; /* argument pointer */
int retcode;
@@ -1153,7 +1153,7 @@ int Curl_msprintf(char *buffer, const char *format, ...)
extern int fputc(int, FILE *);
-int Curl_mprintf(const char *format, ...)
+int curl_mprintf(const char *format, ...)
{
int retcode;
va_list ap_save; /* argument pointer */
@@ -1163,7 +1163,7 @@ int Curl_mprintf(const char *format, ...)
return retcode;
}
-int Curl_mfprintf(FILE *whereto, const char *format, ...)
+int curl_mfprintf(FILE *whereto, const char *format, ...)
{
int retcode;
va_list ap_save; /* argument pointer */
@@ -1173,7 +1173,7 @@ int Curl_mfprintf(FILE *whereto, const char *format, ...)
return retcode;
}
-int Curl_mvsprintf(char *buffer, const char *format, va_list ap_save)
+int curl_mvsprintf(char *buffer, const char *format, va_list ap_save)
{
int retcode;
retcode = dprintf_formatf(&buffer, storebuffer, format, ap_save);
@@ -1181,12 +1181,12 @@ int Curl_mvsprintf(char *buffer, const char *format, va_list ap_save)
return retcode;
}
-int Curl_mvprintf(const char *format, va_list ap_save)
+int curl_mvprintf(const char *format, va_list ap_save)
{
return dprintf_formatf(stdout, fputc, format, ap_save);
}
-int Curl_mvfprintf(FILE *whereto, const char *format, va_list ap_save)
+int curl_mvfprintf(FILE *whereto, const char *format, va_list ap_save)
{
return dprintf_formatf(whereto, fputc, format, ap_save);
}