Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Brian Smith
nettle
Commits
916d3bb1
Commit
916d3bb1
authored
Sep 10, 2012
by
Tim Ruehsen
Committed by
Niels Möller
Sep 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nettle-benchmark: Use PRINTF_STYLE attribute.
parent
7d459763
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
ChangeLog
ChangeLog
+1
-0
examples/nettle-benchmark.c
examples/nettle-benchmark.c
+1
-1
No files found.
ChangeLog
View file @
916d3bb1
2012-09-10 Niels Möller <nisse@lysator.liu.se>
From Tim Rühsen:
* examples/nettle-benchmark.c (die): Use PRINTF_STYLE attribute.
* pgp-encode.c (pgp_put_rsa_sha1_signature): Deleted unused variable.
* rsa2openpgp.c (rsa_keypair_to_openpgp): Likewise.
* examples/base16enc.c (main): Deleted useless allocations.
...
...
examples/nettle-benchmark.c
View file @
916d3bb1
...
...
@@ -96,7 +96,7 @@ static double frequency = 0.0;
#define BENCH_ITERATIONS 10
#endif
static
void
NORETURN
static
void
NORETURN
PRINTF_STYLE
(
1
,
2
)
die
(
const
char
*
format
,
...)
{
va_list
args
;
...
...
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