Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
39da352f
Commit
39da352f
authored
19 years ago
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
19 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* libiberty.h (vsnprintf): Add format attribute.
From-SVN: r100476
parent
e93196c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
include/ChangeLog
+4
-0
include/libiberty.h
+2
-3
No files found.
include/ChangeLog
View file @
39da352f
2005-06-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libiberty.h (vsnprintf): Add format attribute.
2005-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
...
...
This diff is collapsed.
Click to expand it.
include/libiberty.h
View file @
39da352f
...
...
@@ -527,8 +527,7 @@ extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2;
/* Like vsprintf but provides a pointer to malloc'd storage, which
must be freed by the caller. */
extern
int
vasprintf
(
char
**
,
const
char
*
,
va_list
)
ATTRIBUTE_PRINTF
(
2
,
0
);
extern
int
vasprintf
(
char
**
,
const
char
*
,
va_list
)
ATTRIBUTE_PRINTF
(
2
,
0
);
#endif
#if defined(HAVE_DECL_SNPRINTF) && !HAVE_DECL_SNPRINTF
...
...
@@ -538,7 +537,7 @@ extern int snprintf (char *, size_t, const char *, ...) ATTRIBUTE_PRINTF_3;
#if defined(HAVE_DECL_VSNPRINTF) && !HAVE_DECL_VSNPRINTF
/* Like vsprintf but prints at most N characters. */
extern
int
vsnprintf
(
char
*
,
size_t
,
const
char
*
,
va_list
);
extern
int
vsnprintf
(
char
*
,
size_t
,
const
char
*
,
va_list
)
ATTRIBUTE_PRINTF
(
3
,
0
)
;
#endif
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment