Skip to content

Commit

Permalink
lib_sprintf: Add printflike
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Nov 5, 2020
1 parent fa07eff commit 4454e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nuttx/streams.h
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ int lib_snoflush(FAR struct lib_sostream_s *this);
****************************************************************************/

int lib_sprintf(FAR struct lib_outstream_s *obj,
FAR const IPTR char *fmt, ...);
FAR const IPTR char *fmt, ...) printflike(2, 3);

/****************************************************************************
* Name: lib_vsprintf
Expand Down

0 comments on commit 4454e12

Please sign in to comment.