projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for LP64 architectures; Add some more tests.
[bertos.git]
/
mware
/
text_format.c
diff --git
a/mware/text_format.c
b/mware/text_format.c
index c38bff8cd2c96efaf09906906cfee89c8e0d263b..8ae71b668fb8497309330d8dd143e1c76f308ba1 100755
(executable)
--- a/
mware/text_format.c
+++ b/
mware/text_format.c
@@
-3,7
+3,7
@@
* <!--
* Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
* Copyright 1999 Bernardo Innocenti <bernie@develer.com>
* <!--
* Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
* Copyright 1999 Bernardo Innocenti <bernie@develer.com>
- * This file is part of DevLib - See
devlib/README
for information.
+ * This file is part of DevLib - See
README.devlib
for information.
* -->
*
* \brief printf-family routines for text output
* -->
*
* \brief printf-family routines for text output
@@
-15,6
+15,12
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.10 2005/11/04 16:20:02 bernie
+ *#* Fix reference to README.devlib in header.
+ *#*
+ *#* Revision 1.9 2004/12/31 17:47:45 bernie
+ *#* Rename UNUSED() to UNUSED_ARG().
+ *#*
*#* Revision 1.8 2004/11/16 21:16:56 bernie
*#* Update to new naming scheme in mware/gfx.c.
*#*
*#* Revision 1.8 2004/11/16 21:16:56 bernie
*#* Update to new naming scheme in mware/gfx.c.
*#*
@@
-174,7
+180,10
@@
int PGM_FUNC(text_xprintf)(struct Bitmap *bm,
/*!
* Return the width in pixels of a vprintf()-formatted string.
*/
/*!
* Return the width in pixels of a vprintf()-formatted string.
*/
-int PGM_FUNC(text_vwidthf)(UNUSED(struct Bitmap *, bm), const char * PGM_ATTR fmt, va_list ap)
+int PGM_FUNC(text_vwidthf)(
+ UNUSED_ARG(struct Bitmap *, bm),
+ const char * PGM_ATTR fmt,
+ va_list ap)
{
return PGM_FUNC(vsprintf)(NULL, fmt, ap) * FONT_WIDTH;
}
{
return PGM_FUNC(vsprintf)(NULL, fmt, ap) * FONT_WIDTH;
}