textioInt.h: add assumed prototype for Tcl_printf()

This commit is contained in:
Darryl L. Miles 2025-01-31 17:09:05 +00:00 committed by Tim Edwards
parent f63dc318a7
commit 6c6e48a9a3
2 changed files with 5 additions and 2 deletions

View File

@ -60,7 +60,10 @@ int TranslateChar();
char *TxGetLineWPrompt();
#ifdef MAGIC_WRAPPER
int Tcl_printf();
/* tcltk/tclmagic.c has a function implementation prototype mimics vfprintf() mapping
* when ifndef MAGIC_WRAPPER
*/
extern int Tcl_printf(FILE *fp, const char *fmt, va_list ap);
#endif
#endif /* _TEXTIOINT_H */

View File

@ -56,7 +56,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
#include "plow/plow.h"
/* Cannot include tcltk/tclmagic.h for a clash with utils/magic.h
extern int Tcl_printf(FILE *, char *, va_list); */
extern int Tcl_printf(FILE *, const char *, va_list); */
global int TechFormatVersion;
global bool TechOverridesDefault;