Skip to content

Commit f342a83

Browse files
committed
fix mod files for C23
Function declarations that were `func ()` now do not mean `func (any args)`, now they mean `func (void)`: https://gcc.gnu.org/gcc-15/porting_to.html Issue also filed at NEURON: neuronsimulator/nrn#3376
1 parent 78235f0 commit f342a83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyNN/neuron/nmodl/vecstim.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ NET_RECEIVE (w) {
113113

114114

115115
VERBATIM
116-
extern double* vector_vec();
117-
extern int vector_capacity();
118-
extern void* vector_arg();
116+
extern double* vector_vec(void *);
117+
extern int vector_capacity(void *);
118+
extern void* vector_arg(int);
119119
ENDVERBATIM
120120

121121
PROCEDURE element() {

0 commit comments

Comments
 (0)