Make get_alignment() available outside special-vars.c

This commit is contained in:
Xavier G 2016-05-13 03:51:48 +02:00
commit f1b5b515b9
2 changed files with 8 additions and 5 deletions

View file

@ -27,10 +27,6 @@
#include "misc.h"
#include "utf8.h"
#define ALIGN_RIGHT 0x01
#define ALIGN_CUT 0x02
#define ALIGN_PAD 0x04
#define isvarchar(c) \
(i_isalnum(c) || (c) == '_')
@ -317,7 +313,7 @@ static int get_alignment_args(char **data, int *align, int *flags, char *pad)
}
/* return the aligned text */
static char *get_alignment(const char *text, int align, int flags, char pad)
char *get_alignment(const char *text, int align, int flags, char pad)
{
GString *str;
char *ret;