Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabComm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tommy Olofsson
LabComm
Commits
0c0368ae
Commit
0c0368ae
authored
8 years ago
by
Tommy Olofsson
Browse files
Options
Downloads
Patches
Plain Diff
Undo even more unnecc. changes.
parent
0a5a512c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/c/2014/labcomm2014_type_signature.c
+5
-5
5 additions, 5 deletions
lib/c/2014/labcomm2014_type_signature.c
with
5 additions
and
5 deletions
lib/c/2014/labcomm2014_type_signature.c
+
5
−
5
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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment