@@ -101,38 +101,37 @@ extern unsigned int iscrsz;
101101extern int *iscr;
102102extern int *iscrset(int);
103103extern double BVBASE;
104- extern double* hoc_pgetarg();
104+ extern double* hoc_pgetarg(int );
105105extern void hoc_notify_iv();
106106extern double hoc_call_func(Symbol*, int narg);
107107extern FILE* hoc_obj_file_arg(int narg);
108- extern Object** hoc_objgetarg();
109- char *gargstr();
110- char** hoc_pgargstr();
111- extern void vector_resize();
112- extern int vector_instance_px();
113- extern void* vector_arg();
114- extern double* vector_vec();
108+ extern Object** hoc_objgetarg(int );
109+ char *gargstr(int );
110+ char** hoc_pgargstr(int );
111+ extern void vector_resize(void *, int );
112+ extern int vector_instance_px(void *, double ** );
113+ extern void* vector_arg(int );
114+ extern double* vector_vec(void * );
115115extern int vector_buffer_size(void*);
116116extern double hoc_epsilon;
117117extern int stoprun;
118- extern void set_seed();
118+ extern void set_seed(double );
119119extern void dshuffle(double* x,int nx);
120- extern void mcell_ran4_init(u_int32_t);
121- extern double mcell_ran4(u_int32_t *idx1, double *x, unsigned int n, double range);
122- extern int nrn_mlh_gsort();
120+ extern void mcell_ran4_init(uint32_t);
121+ extern double mcell_ran4(uint32_t *idx1, double *x, unsigned int n, double range);
123122extern int ivoc_list_count(Object*);
124123extern Object* ivoc_list_item(Object*, int);
125124extern int list_vector_px2();
126125extern int hoc_is_double_arg(int narg);
127126extern int hoc_is_str_arg(int narg);
128127extern int hoc_is_object_arg(int narg);
129128extern int hoc_is_pdouble_arg(int narg);
130- extern Symbol *hoc_get_symbol(char *);
129+ extern Symbol *hoc_get_symbol(const char *);
131130extern Symbol *hoc_lookup(const char*);
132131extern Point_process* ob2pntproc(Object*);
133132
134133extern char* hoc_object_name(Object*);
135- extern int cmpdfn();
134+ extern int cmpdfn(double, double );
136135extern int openvec(int, double **);
137136int list_vector_px();
138137double *list_vector_resize();
@@ -188,8 +187,8 @@ int *iscrset (int nx) {
188187
189188
190189// from stats.mod
191- static u_int32_t ilow=0;
192- static u_int32_t ihigh=0;
190+ static uint32_t ilow=0;
191+ static uint32_t ihigh=0;
193192
194193//shuffle array of unsigned ints
195194void ishuffle(int* x,int nx) {
@@ -207,7 +206,7 @@ void ishuffle(int* x,int nx) {
207206// end of stats.mod
208207
209208static const double* ITsortdata = NULL; /* used in the quicksort algorithm */
210- static double tetrospks2(double*, double*, double*, int, int, int), pdfpr(), tetrospks3(double*, double*, double*, double*, int ,int, int);
209+ static double tetrospks2(double*, double*, double*, int, int, int), pdfpr(double*, int, int, char* ), tetrospks3(double*, double*, double*, double*, int ,int, int);
211210static int dbxi[10];
212211
213212
0 commit comments