Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
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
Harbor 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
dCache
cta
Commits
a0a86056
Commit
a0a86056
authored
9 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
CASTOR-5104 RFE: Improve the const correctness of Cns_enterclass()
Fixed.
parent
58726855
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
h/Cns_api.h
+1
-1
1 addition, 1 deletion
h/Cns_api.h
ns/Cns_enterclass.c
+1
-1
1 addition, 1 deletion
ns/Cns_enterclass.c
ns/Cns_enterclass.man
+2
-2
2 additions, 2 deletions
ns/Cns_enterclass.man
with
4 additions
and
4 deletions
h/Cns_api.h
+
1
−
1
View file @
a0a86056
...
...
@@ -252,7 +252,7 @@ EXTERN_C int Cns_delsegbycopyno (const char *, struct Cns_fileid *, int);
EXTERN_C
int
Cns_du
(
const
char
*
,
int
,
u_signed64
*
,
u_signed64
*
);
EXTERN_C
int
Cns_endsess
();
EXTERN_C
int
Cns_endtrans
();
EXTERN_C
int
Cns_enterclass
(
c
har
*
,
struct
Cns_fileclass
*
);
EXTERN_C
int
Cns_enterclass
(
c
onst
char
*
,
const
struct
Cns_fileclass
*
);
EXTERN_C
int
Cns_errmsg
(
char
*
,
char
*
,
...);
EXTERN_C
int
Cns_getacl
(
const
char
*
,
int
,
struct
Cns_acl
*
);
EXTERN_C
int
Cns_getcomment
(
const
char
*
,
char
*
);
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_enterclass.c
+
1
−
1
View file @
a0a86056
...
...
@@ -16,7 +16,7 @@
#include
"serrno.h"
int
Cns_enterclass
(
char
*
server
,
struct
Cns_fileclass
*
Cns_fileclass
)
Cns_enterclass
(
const
char
*
server
,
const
struct
Cns_fileclass
*
Cns_fileclass
)
{
int
c
;
char
func
[
16
];
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_enterclass.man
+
2
−
2
View file @
a0a86056
...
...
@@ -9,8 +9,8 @@ Cns_enterclass \- define a new fileclass in the name server
.br
\fB#include "Cns_api.h"\fR
.sp
.BI "int Cns_enterclass (char *" server ,
.BI "struct Cns_fileclass *" Cns_fileclass )
.BI "int Cns_enterclass (
const
char *" server ,
.BI "
const
struct Cns_fileclass *" Cns_fileclass )
.SH DESCRIPTION
.B Cns_enterclass
defines a new fileclass in the name server.
...
...
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