Skip to content

Commit d07208b

Browse files
committed
ext/dba: make internal functions static
1 parent fb5d3f0 commit d07208b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/dba/dba.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ static void dba_close_rsrc(zend_resource *rsrc)
293293
/* }}} */
294294

295295
/* {{{ dba_close_pe_rsrc_deleter */
296-
int dba_close_pe_rsrc_deleter(zval *el, void *pDba)
296+
static int dba_close_pe_rsrc_deleter(zval *el, void *pDba)
297297
{
298298
if (Z_RES_P(el)->ptr == pDba) {
299299
if (Z_DELREF_P(el) == 0) {
@@ -318,7 +318,7 @@ static void dba_close_pe_rsrc(zend_resource *rsrc)
318318
/* }}} */
319319

320320
/* {{{ PHP_INI */
321-
ZEND_INI_MH(OnUpdateDefaultHandler)
321+
static ZEND_INI_MH(OnUpdateDefaultHandler)
322322
{
323323
const dba_handler *hptr;
324324

@@ -431,7 +431,7 @@ static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode)
431431
/* }}} */
432432

433433
/* {{{ php_find_dbm */
434-
dba_info *php_dba_find(const char* path)
434+
static dba_info *php_dba_find(const char* path)
435435
{
436436
zend_resource *le;
437437
dba_info *info;

0 commit comments

Comments
 (0)