Commit 43a13f02 authored by Steven Murray's avatar Steven Murray
Browse files

CASTOR-5106 RFE: Improve the const correctness of Cns_chclass()

parent d420ee90
......@@ -235,7 +235,7 @@ EXTERN_C int Cns_access (const char *, int);
EXTERN_C int Cns_accessUser (const char *, int, uid_t, gid_t);
EXTERN_C int Cns_aborttrans ();
EXTERN_C int Cns_apiinit (struct Cns_api_thread_info **);
EXTERN_C int Cns_chclass (const char *, int, char *);
EXTERN_C int Cns_chclass (const char *, int, const char *);
EXTERN_C int Cns_chdir (const char *);
EXTERN_C int Cns_chmod (const char *, mode_t);
EXTERN_C int Cns_chown (const char *, uid_t, gid_t);
......@@ -16,7 +16,7 @@
#include "serrno.h"
Cns_chclass(const char *path, int classid, char *class_name)
Cns_chclass(const char *path, int classid, const char *class_name)
char *actual_path;
int c;
......@@ -11,7 +11,7 @@ Cns_chclass \- change class of a CASTOR directory in the name server
.BI "int Cns_chclass (const char *" path ,
.BI "int " classid ,
.BI "char *" class_name )
.BI "const char *" class_name )
.B Cns_chclass
changes the class of a CASTOR directory or file in the name server.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment