Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
d82f77b2
Commit
d82f77b2
authored
Jul 19, 2016
by
Vasil Velichkov
Committed by
Lev Walkin
Mar 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix few duplicate 'const' warnings
error: duplicate 'const' [-Werror=edantic]
parent
1144b350
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
skeletons/OCTET_STRING.c
skeletons/OCTET_STRING.c
+2
-2
skeletons/PrintableString.c
skeletons/PrintableString.c
+1
-1
No files found.
skeletons/OCTET_STRING.c
View file @
d82f77b2
...
...
@@ -14,12 +14,12 @@
static
const
ber_tlv_tag_t
asn_DEF_OCTET_STRING_tags
[]
=
{
(
ASN_TAG_CLASS_UNIVERSAL
|
(
4
<<
2
))
};
static
const
asn_OCTET_STRING_specifics_t
asn_SPC_OCTET_STRING_specs
=
{
static
asn_OCTET_STRING_specifics_t
asn_SPC_OCTET_STRING_specs
=
{
sizeof
(
OCTET_STRING_t
),
offsetof
(
OCTET_STRING_t
,
_asn_ctx
),
ASN_OSUBV_STR
};
static
const
asn_per_constraints_t
asn_DEF_OCTET_STRING_constraints
=
{
static
asn_per_constraints_t
asn_DEF_OCTET_STRING_constraints
=
{
{
APC_CONSTRAINED
,
8
,
8
,
0
,
255
},
{
APC_SEMI_CONSTRAINED
,
-
1
,
-
1
,
0
,
0
},
0
,
0
...
...
skeletons/PrintableString.c
View file @
d82f77b2
...
...
@@ -41,7 +41,7 @@ static int asn_DEF_PrintableString_c2v(unsigned int code) {
return
_PrintableString_code2value
[
code
];
return
-
1
;
}
static
const
asn_per_constraints_t
asn_DEF_PrintableString_constraints
=
{
static
asn_per_constraints_t
asn_DEF_PrintableString_constraints
=
{
{
APC_CONSTRAINED
,
4
,
4
,
0x20
,
0x39
},
/* Value */
{
APC_SEMI_CONSTRAINED
,
-
1
,
-
1
,
0
,
0
},
/* Size */
asn_DEF_PrintableString_v2c
,
...
...
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