Skip to content

Commit

Permalink
Removing static from function def
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshibobade21 committed Aug 5, 2023
1 parent f15920d commit 8d2c47d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions c/datasetjson.c
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ void addMemberedDatasetMetadata(char *datasetName, int nameLength,
#define DSPATH_PREFIX "//\'"
#define DSPATH_SUFFIX "\'"

static bool isDatasetPathValid(const char *path) {
bool isDatasetPathValid(const char *path) {

/* Basic check. The fopen() dataset path format is //'dsn(member)' */

Expand Down Expand Up @@ -980,7 +980,7 @@ static bool isDatasetPathValid(const char *path) {

}

static void extractDatasetAndMemberName(const char *datasetPath,
void extractDatasetAndMemberName(const char *datasetPath,
DatasetName *dsn,
DatasetMemberName *memberName) {

Expand Down
6 changes: 3 additions & 3 deletions h/datasetjson.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ void deleteDatasetFromRequest(HttpResponse* response, char* absolutePath);
void copyDatasetAndRespond(HttpResponse *response, char* sourceDataset, char* targetDataset);
char getCSIType(char* absolutePath);
bool isVsam(char CSIType);
static void extractDatasetAndMemberName(const char *datasetPath,
int checkIfDatasetExistsAndRespond(HttpResponse* response, char* dataset, bool isMember);
bool isDatasetPathValid(const char *path);
void extractDatasetAndMemberName(const char *datasetPath,
DatasetName *dsn,
DatasetMemberName *memberName);
int checkIfDatasetExistsAndRespond(HttpResponse* response, char* dataset, bool isMember);
static bool isDatasetPathValid(const char *path);
#endif


Expand Down

0 comments on commit 8d2c47d

Please sign in to comment.