make putenvprintf public

This commit is contained in:
2015-11-04 15:14:12 +01:00
parent 57a8ec3b11
commit b9ea25cd80
2 changed files with 6 additions and 4 deletions
+1 -4
View File
@@ -305,10 +305,7 @@ typedef struct moduleitem
moduleitem* loadedModules = NULL;
#ifdef __GNUC__
static int putenvprintf(const char* format, ...) __attribute__((format(printf,1,2)));
#endif
static int putenvprintf(const char* format, ...)
int putenvprintf(const char* format, ...)
{
va_list ap;
char *var;
+5
View File
@@ -5,11 +5,16 @@
extern "C" {
#endif
#ifndef __GNUC__
#define __attribute__(dummy)
#endif
int require(const char* libname, const char* version, const char* args);
const char* getLibVersion(const char* libname);
const char* getLibLocation(const char* libname);
int libversionShow(int showLocation, const char* outfile);
int runScript(const char* filename, const char* args);
int putenvprintf(const char* format, ...) __attribute__((format(printf,1,2)));
#ifdef __cplusplus
}