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

Commit71942a8

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

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
@@ -132,7 +132,7 @@ _PG_init(void)
132132
* This should only be called once from _PG_init. Initialize the Python
133133
* interpreter and global data.
134134
*/
135-
void
135+
staticvoid
136136
PLy_init_interp(void)
137137
{
138138
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
@@ -274,49 +274,49 @@ PLy_generate_spi_exceptions(PyObject *mod, PyObject *base)
274274
*/
275275
staticPyObject*PLy_output(volatileint,PyObject*,PyObject*);
276276

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

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

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

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

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

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

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

319-
PyObject*
319+
staticPyObject*
320320
PLy_quote_literal(PyObject*self,PyObject*args)
321321
{
322322
constchar*str;
@@ -333,7 +333,7 @@ PLy_quote_literal(PyObject *self, PyObject *args)
333333
returnret;
334334
}
335335

336-
PyObject*
336+
staticPyObject*
337337
PLy_quote_nullable(PyObject*self,PyObject*args)
338338
{
339339
constchar*str;
@@ -353,7 +353,7 @@ PLy_quote_nullable(PyObject *self, PyObject *args)
353353
returnret;
354354
}
355355

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp