File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ PHP_APCU_API int _apc_register_serializer(
124
124
125
125
/* {{{ apc_get_serializers
126
126
fetches the list of serializers */
127
- PHP_APCU_API apc_serializer_t * apc_get_serializers (); /* }}} */
127
+ PHP_APCU_API apc_serializer_t * apc_get_serializers (void ); /* }}} */
128
128
129
129
/* {{{ apc_find_serializer
130
130
finds a previously registered serializer by name */
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ typedef apc_windows_cs_rwlock_t apc_lock_t;
72
72
apc_lock_cleanup destroys those attributes
73
73
This saves us from having to create and destroy attributes for
74
74
every lock we use at runtime */
75
- PHP_APCU_API zend_bool apc_lock_init ();
76
- PHP_APCU_API void apc_lock_cleanup ();
75
+ PHP_APCU_API zend_bool apc_lock_init (void );
76
+ PHP_APCU_API void apc_lock_cleanup (void );
77
77
/*
78
78
The following functions should be self explanitory:
79
79
*/
Original file line number Diff line number Diff line change 27
27
28
28
typedef pthread_mutex_t apc_mutex_t ;
29
29
30
- PHP_APCU_API zend_bool apc_mutex_init ();
31
- PHP_APCU_API void apc_mutex_cleanup ();
30
+ PHP_APCU_API zend_bool apc_mutex_init (void );
31
+ PHP_APCU_API void apc_mutex_cleanup (void );
32
32
PHP_APCU_API zend_bool apc_mutex_create (apc_mutex_t * lock );
33
33
PHP_APCU_API zend_bool apc_mutex_lock (apc_mutex_t * lock );
34
34
PHP_APCU_API zend_bool apc_mutex_unlock (apc_mutex_t * lock );
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ typedef struct apc_signal_info_t {
34
34
apc_signal_entry_t * * prev ; /* Previous signal handlers */
35
35
} apc_signal_info_t ;
36
36
37
- void apc_set_signals ();
38
- void apc_shutdown_signals ();
37
+ void apc_set_signals (void );
38
+ void apc_shutdown_signals (void );
39
39
40
40
#endif
41
41
You can’t perform that action at this time.
0 commit comments