Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7391e25

Browse files
committed
Fix some functions that were declared static then defined not-static.
Per testing with a compiler that whines about this.
1 parent5b3ce2c commit7391e25

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

‎src/pl/plpython/plpy_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ _PG_init(void)
123123
* This should only be called once from _PG_init. Initialize the Python
124124
* interpreter and global data.
125125
*/
126-
void
126+
staticvoid
127127
PLy_init_interp(void)
128128
{
129129
staticPyObject*PLy_interp_safe_globals=NULL;

‎src/pl/plpython/plpy_plpymodule.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -273,49 +273,49 @@ PLy_generate_spi_exceptions(PyObject *mod, PyObject *base)
273273
*/
274274
staticPyObject*PLy_output(volatileint,PyObject*,PyObject*);
275275

276-
PyObject*
276+
staticPyObject*
277277
PLy_debug(PyObject*self,PyObject*args)
278278
{
279279
returnPLy_output(DEBUG2,self,args);
280280
}
281281

282-
PyObject*
282+
staticPyObject*
283283
PLy_log(PyObject*self,PyObject*args)
284284
{
285285
returnPLy_output(LOG,self,args);
286286
}
287287

288-
PyObject*
288+
staticPyObject*
289289
PLy_info(PyObject*self,PyObject*args)
290290
{
291291
returnPLy_output(INFO,self,args);
292292
}
293293

294-
PyObject*
294+
staticPyObject*
295295
PLy_notice(PyObject*self,PyObject*args)
296296
{
297297
returnPLy_output(NOTICE,self,args);
298298
}
299299

300-
PyObject*
300+
staticPyObject*
301301
PLy_warning(PyObject*self,PyObject*args)
302302
{
303303
returnPLy_output(WARNING,self,args);
304304
}
305305

306-
PyObject*
306+
staticPyObject*
307307
PLy_error(PyObject*self,PyObject*args)
308308
{
309309
returnPLy_output(ERROR,self,args);
310310
}
311311

312-
PyObject*
312+
staticPyObject*
313313
PLy_fatal(PyObject*self,PyObject*args)
314314
{
315315
returnPLy_output(FATAL,self,args);
316316
}
317317

318-
PyObject*
318+
staticPyObject*
319319
PLy_quote_literal(PyObject*self,PyObject*args)
320320
{
321321
constchar*str;
@@ -332,7 +332,7 @@ PLy_quote_literal(PyObject *self, PyObject *args)
332332
returnret;
333333
}
334334

335-
PyObject*
335+
staticPyObject*
336336
PLy_quote_nullable(PyObject*self,PyObject*args)
337337
{
338338
constchar*str;
@@ -352,7 +352,7 @@ PLy_quote_nullable(PyObject *self, PyObject *args)
352352
returnret;
353353
}
354354

355-
PyObject*
355+
staticPyObject*
356356
PLy_quote_ident(PyObject*self,PyObject*args)
357357
{
358358
constchar*str;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp