Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Main
Synchronet
Commits
8c6e0ace
Commit
8c6e0ace
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Constify smb_faddrtoa()
parent
5d23faa4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!455
Update branch with changes from master
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/smblib/smblib.h
+1
-1
1 addition, 1 deletion
src/smblib/smblib.h
src/smblib/smbstr.c
+1
-1
1 addition, 1 deletion
src/smblib/smbstr.c
with
2 additions
and
2 deletions
src/smblib/smblib.h
+
1
−
1
View file @
8c6e0ace
...
...
@@ -243,7 +243,7 @@ SMBEXPORT int smb_getmsghdr_by_hash(smb_t*, smbmsg_t*, unsigned source
SMBEXPORT
char
*
smb_hfieldtype
(
uint16_t
type
);
SMBEXPORT
uint16_t
smb_hfieldtypelookup
(
const
char
*
);
SMBEXPORT
char
*
smb_dfieldtype
(
uint16_t
type
);
SMBEXPORT
char
*
smb_faddrtoa
(
fidoaddr_t
*
addr
,
char
*
outstr
);
SMBEXPORT
char
*
smb_faddrtoa
(
const
fidoaddr_t
*
addr
,
char
*
outstr
);
SMBEXPORT
char
*
smb_netaddr
(
const
net_t
*
net
);
SMBEXPORT
char
*
smb_netaddrstr
(
const
net_t
*
net
,
char
*
fidoaddr_buf
);
SMBEXPORT
char
*
smb_nettype
(
enum
smb_net_type
);
...
...
This diff is collapsed.
Click to expand it.
src/smblib/smbstr.c
+
1
−
1
View file @
8c6e0ace
...
...
@@ -251,7 +251,7 @@ char* smb_zonestr(int16_t zone, char* str)
/****************************************************************************/
/* Returns an ASCII string for FidoNet address 'addr' */
/****************************************************************************/
char
*
smb_faddrtoa
(
fidoaddr_t
*
addr
,
char
*
str
)
char
*
smb_faddrtoa
(
const
fidoaddr_t
*
addr
,
char
*
str
)
{
static
char
buf
[
64
];
char
point
[
25
];
...
...
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