summaryrefslogtreecommitdiff
path: root/app/bin/lprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/bin/lprintf.c')
-rw-r--r--app/bin/lprintf.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/app/bin/lprintf.c b/app/bin/lprintf.c
index 23cc44a..802fa24 100644
--- a/app/bin/lprintf.c
+++ b/app/bin/lprintf.c
@@ -20,23 +20,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#ifndef WINDOWS
-#include <time.h>
-#else
-#include <time.h>
-#include <sys/timeb.h>
-#endif
-
#include "custom.h"
#include "fileio.h"
-#include "messages.h"
#include "paths.h"
#include "track.h"
+#include "common-ui.h"
/****************************************************************************
@@ -117,7 +105,7 @@ EXPORT void LogSet( char * name, int level )
}
-EXPORT int LogFindIndex( char * name )
+EXPORT int LogFindIndex( const char * name )
{
int inx;
for ( inx=0; inx<logTable_da.cnt; inx++ )
@@ -127,7 +115,7 @@ EXPORT int LogFindIndex( char * name )
}
EXPORT void LogPrintf(
- char * format,
+ const char * format,
... )
{
va_list ap;