commit 20708d4811481830730cdc9f1d64ef9c7b8783e8 Author: Nathaniel McCallum npmccallum@redhat.com Date: Mon Sep 26 10:20:33 2011 -0400
[core] remove leading _ from symbol names
src/verto.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) --- diff --git a/src/verto.c b/src/verto.c index c7074f5..34d453c 100644 --- a/src/verto.c +++ b/src/verto.c @@ -183,7 +183,7 @@ struct _verto_ev { const verto_module *defmodule;
static int -_vasprintf(char **strp, const char *fmt, va_list ap) { +int_vasprintf(char **strp, const char *fmt, va_list ap) { va_list apc; int size = 0;
@@ -198,12 +198,12 @@ _vasprintf(char **strp, const char *fmt, va_list ap) { }
static int -_asprintf(char **strp, const char *fmt, ...) { +int_asprintf(char **strp, const char *fmt, ...) { va_list ap; int size = 0;
va_start(ap, fmt); - size = _vasprintf(strp, fmt, ap); + size = int_vasprintf(strp, fmt, ap); va_end(ap); return size; } @@ -277,7 +277,7 @@ do_load_dir(const char *dirname, const char *prefix, const char *suffix, if (flen < slen || strcmp(ent->d_name + flen - slen, suffix)) continue;
- if (_asprintf(&tmp, "%s/%s", dirname, ent->d_name) < 0) + if (int_asprintf(&tmp, "%s/%s", dirname, ent->d_name) < 0) continue;
success = do_load_file(tmp, reqsym, reqtypes, dll, module); @@ -331,7 +331,7 @@ load_module(const char *impl, verto_ev_type reqtypes, pdlmtype *dll, if (!success) { /* Try to do a load by the name */ tmp = NULL; - if (_asprintf(&tmp, "%s%s%s", prefix, impl, suffix) > 0) { + if (int_asprintf(&tmp, "%s%s%s", prefix, impl, suffix) > 0) { success = do_load_file(tmp, 0, reqtypes, dll, module); free(tmp); }
libverto-commits@lists.fedorahosted.org