Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tommy Olofsson
LabComm
Commits
0c0368ae
Commit
0c0368ae
authored
Jun 30, 2016
by
Tommy Olofsson
Browse files
Undo even more unnecc. changes.
parent
0a5a512c
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/c/2014/labcomm2014_type_signature.c
View file @
0c0368ae
...
...
@@ -2,7 +2,6 @@
#include
<string.h>
// for memcmp
#include
<stdio.h>
// for debug printf
#define CMP_BUFLEN 512
#ifdef LABCOMM2014_USE_UNSUPPORTED_TYPEDEFS
/* Dump signature bytes on stdout
...
...
@@ -78,10 +77,11 @@ static labcomm2014_bool sig_dump_checked(struct labcomm2014_signature_data *sign
labcomm2014_bool
labcomm2014_signature_cmp
(
struct
labcomm2014_signature_data
*
s1
,
struct
labcomm2014_signature_data
*
s2
)
{
char
buf1
[
CMP_BUFLEN
];
int
len1
=
CMP_BUFLEN
;
char
buf2
[
CMP_BUFLEN
];
int
len2
=
CMP_BUFLEN
;
int
buflen
=
512
;
char
buf1
[
buflen
];
int
len1
=
buflen
;
char
buf2
[
buflen
];
int
len2
=
buflen
;
labcomm2014_bool
res1
=
labcomm2014_signature_dump
(
s1
,
buf1
,
&
len1
);
labcomm2014_bool
res2
=
labcomm2014_signature_dump
(
s2
,
buf2
,
&
len2
);
if
(
res1
||
res2
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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