Update of /cvsroot/blob/blob/include/blob
In directory usw-pr-cvs1:/tmp/cvs-serv23339/include/blob
Modified Files:
util.h
Log Message:
Add printf() from linux-2.4.17-rmk3. Fully functional and relatively
small.
Index: util.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/util.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- util.h 6 Jan 2002 17:04:36 -0000 1.7
+++ util.h 8 Feb 2002 12:50:39 -0000 1.8
@@ -55,6 +55,9 @@
/* convert a string to an u32 value */
int strtou32(const char *str, u32 *value);
+/* printf and friends */
+int snprintf(char * buf, size_t size, const char *fmt, ...);
+int printf(const char *fmt, ...);
/* Optimization barrier */
/* The "volatile" is due to gcc bugs */
|