Skip to content

Commit 244c5b8

Browse files
committed
FIX: silenced non-prototype definition warnings
1 parent de3d53c commit 244c5b8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/core/c-handle.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119

120120
/***********************************************************************
121121
**
122-
*/ void Init_Handles()
122+
*/ void Init_Handles(void)
123123
/*
124124
** Creates handles table
125125
**
@@ -139,4 +139,4 @@
139139
#ifdef INCLUDE_CRYPTOGRAPHY
140140
Init_Crypt(); // old crypt code handles
141141
#endif
142-
}
142+
}

src/core/n-crypt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ typedef struct {
4848

4949
/***********************************************************************
5050
**
51-
*/ void Init_Crypt()
51+
*/ void Init_Crypt(void)
5252
/*
5353
***********************************************************************/
5454
{

src/core/s-mold.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ STOID Mold_Error(REBVAL *value, REB_MOLD *mold, REBFLG molded)
15811581

15821582
/***********************************************************************
15831583
**
1584-
*/ void Dispose_Mold()
1584+
*/ void Dispose_Mold(void)
15851585
/*
15861586
***********************************************************************/
15871587
{
@@ -1590,4 +1590,4 @@ STOID Mold_Error(REBVAL *value, REB_MOLD *mold, REBFLG molded)
15901590
Free_Mem( URL_Escapes, 0);
15911591
Char_Escapes = NULL;
15921592
URL_Escapes = NULL;
1593-
}
1593+
}

src/os/osx/host-image.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
/***********************************************************************
5959
**
60-
*/ void OS_Release_Codecs()
60+
*/ void OS_Release_Codecs(void)
6161
/*
6262
** Release resources.
6363
**

0 commit comments

Comments
 (0)