Skip to content

Commit c76d779

Browse files
committed
STYLE: Make MINCIOFreeTmpDimHandle static and add const qualifiers
Refactored function declaration by adding `static` keyword and ensuring pointer parameters are `const` for improved clarity and code safety.
1 parent ab2164b commit c76d779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/IO/MINC/src/itkMINCImageIO.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
extern "C"
3535
{
36-
void
37-
MINCIOFreeTmpDimHandle(unsigned int size, midimhandle_t * ptr)
36+
static void
37+
MINCIOFreeTmpDimHandle(unsigned int size, const midimhandle_t * const ptr)
3838
{
3939
if (!ptr)
4040
{

0 commit comments

Comments
 (0)