summaryrefslogtreecommitdiffstats
path: root/src/termcolors.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-01-30 11:30:12 +0100
committerGravatar Nikias Bassen2024-01-30 11:30:12 +0100
commit7ddaea319550bd44bb295f935bef038a1ac37c3f (patch)
tree12c590e42fb3d367b7b9fb00a035cd03b4175602 /src/termcolors.c
parent2d517ebcebe326e79186e41ee7bbd1cf5ed1f2b9 (diff)
downloadlibimobiledevice-glue-7ddaea319550bd44bb295f935bef038a1ac37c3f.tar.gz
libimobiledevice-glue-7ddaea319550bd44bb295f935bef038a1ac37c3f.tar.bz2
Move LIMD_GLUE_API definitions to public headers
Diffstat (limited to 'src/termcolors.c')
-rw-r--r--src/termcolors.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/termcolors.c b/src/termcolors.c
index 710c9df..5c436f2 100644
--- a/src/termcolors.c
+++ b/src/termcolors.c
@@ -92,7 +92,7 @@ static int bgcolor_map[8] = {
static int WIN32_LEGACY_MODE = 0;
#endif
-LIBIMOBILEDEVICE_GLUE_API void term_colors_init()
+void term_colors_init()
{
#ifdef WIN32
DWORD conmode = 0;
@@ -126,12 +126,12 @@ LIBIMOBILEDEVICE_GLUE_API void term_colors_init()
}
}
-LIBIMOBILEDEVICE_GLUE_API void term_colors_set_enabled(int en)
+void term_colors_set_enabled(int en)
{
use_colors = en;
}
-LIBIMOBILEDEVICE_GLUE_API int cvfprintf(FILE* stream, const char* fmt, va_list vargs)
+int cvfprintf(FILE* stream, const char* fmt, va_list vargs)
{
int res = 0;
int colorize = use_colors;
@@ -298,7 +298,7 @@ LIBIMOBILEDEVICE_GLUE_API int cvfprintf(FILE* stream, const char* fmt, va_list v
return res;
}
-LIBIMOBILEDEVICE_GLUE_API int cfprintf(FILE* stream, const char* fmt, ...)
+int cfprintf(FILE* stream, const char* fmt, ...)
{
int res = 0;
va_list va;
@@ -308,7 +308,7 @@ LIBIMOBILEDEVICE_GLUE_API int cfprintf(FILE* stream, const char* fmt, ...)
return res;
}
-LIBIMOBILEDEVICE_GLUE_API int cprintf(const char* fmt, ...)
+int cprintf(const char* fmt, ...)
{
int res = 0;
va_list va;