diff options
| author | Michael Brown | 2006-04-30 14:01:31 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-04-30 14:01:31 +0200 |
| commit | a42092d2a05bbaf102121e655b5b4c240c8f8e8e (patch) | |
| tree | 6ee6ce9bb1b77e22035056077e6c0acb2edb0c28 /src/include/vsprintf.h | |
| parent | Fix up prototype of strtoul() to match POSIX. (diff) | |
| download | ipxe-a42092d2a05bbaf102121e655b5b4c240c8f8e8e.tar.gz ipxe-a42092d2a05bbaf102121e655b5b4c240c8f8e8e.tar.xz ipxe-a42092d2a05bbaf102121e655b5b4c240c8f8e8e.zip | |
Add a temporary snprintf, so that safely-written code can at least
compile, even if it won't yet be safe.
Diffstat (limited to 'src/include/vsprintf.h')
| -rw-r--r-- | src/include/vsprintf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/vsprintf.h b/src/include/vsprintf.h index 122fcc66e..7090d5c3e 100644 --- a/src/include/vsprintf.h +++ b/src/include/vsprintf.h @@ -45,6 +45,7 @@ */ extern int sprintf ( char *buf, const char *fmt, ... ); +extern int snprintf ( char *buf, size_t size, const char *fmt, ... ); extern int printf ( const char *fmt, ... ); #endif /* VSPRINTF_H */ |
