projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modularize hardware access; Port to new timer interface.
[bertos.git]
/
mware
/
text_format.c
diff --git
a/mware/text_format.c
b/mware/text_format.c
index c38bff8cd2c96efaf09906906cfee89c8e0d263b..d8080a90c53d3c46727bd0f37f0f0902c2aa0d4f 100755
(executable)
--- a/
mware/text_format.c
+++ b/
mware/text_format.c
@@
-15,6
+15,9
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* 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
+177,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;
}