diff --git a/src/condor_includes/basename.h b/src/condor_includes/basename.h index 923cc73..028411d 100644 --- a/src/condor_includes/basename.h +++ b/src/condor_includes/basename.h @@ -64,18 +64,6 @@ char* condor_dirname( const char* path ); char* condor_url_dirname( const char* path ); /* - DEPRECATED: because of non-const return value. - - A basename() function that is happy on both Unix and NT. - It returns a pointer to the last element of the path it was given, - or the whole string, if there are no directory delimiters. There's - no memory allocated, overwritten or changed in anyway. - PLEASE treat the return value as a _const_ char *!!! It's only - declared char * to avoid conflict with the system basename() declaration. -*/ -/* const*/ char* basename( const char* path ); - -/* DEPRECATED: just in case we need changes along the lines of condor_basename() some time in the future. diff --git a/src/condor_util_lib/basename.c b/src/condor_util_lib/basename.c index 8e1777c..ef71545 100644 --- a/src/condor_util_lib/basename.c +++ b/src/condor_util_lib/basename.c @@ -127,23 +127,6 @@ condor_url_dirname(const char *path) } /* - DEPRECATED: because of non-const return value. - - A basename() function that is happy on both Unix and NT. - It returns a pointer to the last element of the path it was given, - or the whole string, if there are no directory delimiters. There's - no memory allocated, overwritten or changed in anyway. - PLEASE treat the return value as a _const_ char *!!! It's only - declared char * to avoid conflict with the system basename() declaration. -*/ -#if 0 -/* const*/ char* - basename( const char* path ) { - return (char *)condor_basename( path ); -} -#endif - -/* DEPRECATED: just in case we need changes along the lines of condor_basename() some time in the future.