Wrap PrintFormat in once block
This commit is contained in:
parent
31cba1bdc8
commit
d8306cf995
1 changed files with 6 additions and 0 deletions
|
@ -6,7 +6,11 @@
|
||||||
* Declares printFormat(), for writing formatted strings to the appropriate channel.
|
* Declares printFormat(), for writing formatted strings to the appropriate channel.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __KSTD_PRINTFORMAT_HH__
|
||||||
|
#define __KSTD_PRINTFORMAT_HH__
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include "Attributes.hh"
|
||||||
|
|
||||||
namespace kstd {
|
namespace kstd {
|
||||||
|
|
||||||
|
@ -20,3 +24,5 @@ int printFormat(const char* format, va_list args);
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
} /* namespace kstd */
|
} /* namespace kstd */
|
||||||
|
|
||||||
|
#endif /* __KSTD_PRINTFORMAT_HH__ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue