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
ea200d9b
Commit
ea200d9b
authored
Aug 02, 2017
by
Lev Walkin
Committed by
GitHub
Aug 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #155 from johvik/master
Add const to strings in skeletons/
parents
1d84ea98
5f619fb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
skeletons/BIT_STRING.c
skeletons/BIT_STRING.c
+1
-1
skeletons/ber_tlv_tag.c
skeletons/ber_tlv_tag.c
+1
-1
No files found.
skeletons/BIT_STRING.c
View file @
ea200d9b
...
...
@@ -72,7 +72,7 @@ BIT_STRING_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
return
0
;
}
static
char
*
_bit_pattern
[
16
]
=
{
static
c
onst
c
har
*
_bit_pattern
[
16
]
=
{
"0000"
,
"0001"
,
"0010"
,
"0011"
,
"0100"
,
"0101"
,
"0110"
,
"0111"
,
"1000"
,
"1001"
,
"1010"
,
"1011"
,
"1100"
,
"1101"
,
"1110"
,
"1111"
};
...
...
skeletons/ber_tlv_tag.c
View file @
ea200d9b
...
...
@@ -74,7 +74,7 @@ ber_tlv_tag_fwrite(ber_tlv_tag_t tag, FILE *f) {
ssize_t
ber_tlv_tag_snprint
(
ber_tlv_tag_t
tag
,
char
*
buf
,
size_t
size
)
{
char
*
type
=
0
;
c
onst
c
har
*
type
=
0
;
int
ret
;
switch
(
tag
&
0x3
)
{
...
...
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