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
58726855
Commit
58726855
authored
9 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
CASTOR-5103 RFE: Improve the const correctness of Cns_modifyclass()
Fixed.
parent
be892400
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_modifyclass.c
+1
-1
1 addition, 1 deletion
ns/Cns_modifyclass.c
ns/Cns_modifyclass.man
+3
-3
3 additions, 3 deletions
ns/Cns_modifyclass.man
with
5 additions
and
5 deletions
h/Cns_api.h
+
1
−
1
View file @
58726855
...
...
@@ -269,7 +269,7 @@ EXTERN_C int Cns_lastfseq (const char *, int, struct Cns_segattrs *);
EXTERN_C
int
Cns_bulkexist
(
const
char
*
,
u_signed64
*
,
int
*
);
EXTERN_C
int
Cns_mkdir
(
const
char
*
,
mode_t
);
EXTERN_C
int
Cns_mkdirg
(
const
char
*
,
const
char
*
,
mode_t
);
EXTERN_C
int
Cns_modifyclass
(
char
*
,
int
,
c
har
*
,
struct
Cns_fileclass
*
);
EXTERN_C
int
Cns_modifyclass
(
const
char
*
,
int
,
c
onst
char
*
,
const
struct
Cns_fileclass
*
);
EXTERN_C
int
Cns_openx
(
const
uid_t
,
const
gid_t
,
const
char
*
,
const
int
,
const
mode_t
,
const
int
,
struct
Cns_fileid
*
,
struct
Cns_filestatcs
*
,
u_signed64
*
);
EXTERN_C
Cns_DIR
*
Cns_opendir
(
const
char
*
);
EXTERN_C
Cns_DIR
*
Cns_opendirg
(
const
char
*
,
const
char
*
);
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_modifyclass.c
+
1
−
1
View file @
58726855
...
...
@@ -16,7 +16,7 @@
#include
"serrno.h"
int
Cns_modifyclass
(
char
*
server
,
int
classid
,
char
*
class_name
,
struct
Cns_fileclass
*
Cns_fileclass
)
Cns_modifyclass
(
const
char
*
server
,
int
classid
,
const
char
*
class_name
,
const
struct
Cns_fileclass
*
Cns_fileclass
)
{
int
c
;
char
func
[
16
];
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_modifyclass.man
+
3
−
3
View file @
58726855
...
...
@@ -9,10 +9,10 @@ Cns_modifyclass \- modify an existing fileclass definition in the name server
.br
\fB#include "Cns_api.h"\fR
.sp
.BI "int Cns_modifyclass (char *" server ,
.BI "int Cns_modifyclass (
const
char *" server ,
.BI "int " classid ,
.BI "char *" class_name ,
.BI "struct Cns_fileclass *" Cns_fileclass )
.BI "
const
char *" class_name ,
.BI "
const
struct Cns_fileclass *" Cns_fileclass )
.SH DESCRIPTION
.B Cns_modifyclass
modifies an existing fileclass definition 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