From d11427731d82eb4392500d59c7432eefd24e08da Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 3 Apr 2008 21:08:21 +0000 Subject: [PATCH] make mangle3 public [r19101] --- include/libfirm/ident.h | 3 +++ ir/ident/mangle.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/libfirm/ident.h b/include/libfirm/ident.h index b2a0f6e6b..5296f339e 100644 --- a/include/libfirm/ident.h +++ b/include/libfirm/ident.h @@ -305,6 +305,9 @@ ident *mangle_dot (ident *first, ident* scnd); /** mangle: Returns a new ident that represents firstscnd. */ ident *mangle (ident *first, ident* scnd); +/** Returns a new ident that represents 'prefixscndsuffix'. */ +ident *mangle3 (const char *prefix, ident *middle, const char *suffix); + /** returns a mangled name for a Win32 function using it's calling convention */ ident *decorate_win32_c_fkt(ir_entity *ent, ident *id); diff --git a/ir/ident/mangle.c b/ir/ident/mangle.c index 643ce1cc8..abe4a6b3e 100644 --- a/ir/ident/mangle.c +++ b/ir/ident/mangle.c @@ -80,7 +80,7 @@ ident *mangle(ident *first, ident *scnd) { } /** Returns a new ident that represents 'prefixscndsuffix'. */ -static ident *mangle3(const char *prefix, ident *scnd, const char *suffix) { +ident *mangle3(const char *prefix, ident *scnd, const char *suffix) { char *cp; int len; ident *res; -- 2.20.1