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
d420ee90
Commit
d420ee90
authored
9 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
CASTOR-5105 RFE: Improve the const correctness of Cns_deleteclass()
Fixed.
parent
a0a86056
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_deleteclass.c
+1
-1
1 addition, 1 deletion
ns/Cns_deleteclass.c
ns/Cns_deleteclass.man
+2
-2
2 additions, 2 deletions
ns/Cns_deleteclass.man
with
4 additions
and
4 deletions
h/Cns_api.h
+
1
−
1
View file @
d420ee90
...
...
@@ -246,7 +246,7 @@ EXTERN_C int Cns_closedir (Cns_DIR *);
EXTERN_C
int
Cns_creat
(
const
char
*
,
mode_t
);
EXTERN_C
int
Cns_creatx
(
const
char
*
,
mode_t
,
struct
Cns_fileid
*
);
EXTERN_C
int
Cns_delcomment
(
const
char
*
);
EXTERN_C
int
Cns_deleteclass
(
char
*
,
int
,
char
*
);
EXTERN_C
int
Cns_deleteclass
(
const
char
*
,
int
,
const
char
*
);
EXTERN_C
int
Cns_dropsegs
(
const
char
*
,
struct
Cns_fileid
*
);
EXTERN_C
int
Cns_delsegbycopyno
(
const
char
*
,
struct
Cns_fileid
*
,
int
);
EXTERN_C
int
Cns_du
(
const
char
*
,
int
,
u_signed64
*
,
u_signed64
*
);
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_deleteclass.c
+
1
−
1
View file @
d420ee90
...
...
@@ -16,7 +16,7 @@
#include
"serrno.h"
int
Cns_deleteclass
(
char
*
server
,
int
classid
,
char
*
class_name
)
Cns_deleteclass
(
const
char
*
server
,
int
classid
,
const
char
*
class_name
)
{
int
c
;
char
func
[
16
];
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_deleteclass.man
+
2
−
2
View file @
d420ee90
...
...
@@ -9,9 +9,9 @@ Cns_deleteclass \- delete a fileclass definition in the name server
.br
\fB#include "Cns_api.h"\fR
.sp
.BI "int Cns_deleteclass (char *" server ,
.BI "int Cns_deleteclass (
const
char *" server ,
.BI "int " classid ,
.BI "char *" class_name )
.BI "
const
char *" class_name )
.SH DESCRIPTION
.B Cns_deleteclass
deletes a 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