@@ -32,8 +32,8 @@ struct BaseBackupTargetHandle
32
32
};
33
33
34
34
static void initialize_target_list (void );
35
- extern bbsink * blackhole_get_sink (bbsink * next_sink , void * detail_arg );
36
- extern bbsink * server_get_sink (bbsink * next_sink , void * detail_arg );
35
+ static bbsink * blackhole_get_sink (bbsink * next_sink , void * detail_arg );
36
+ static bbsink * server_get_sink (bbsink * next_sink , void * detail_arg );
37
37
static void * reject_target_detail (char * target , char * target_detail );
38
38
static void * server_check_detail (char * target , char * target_detail );
39
39
@@ -190,7 +190,7 @@ initialize_target_list(void)
190
190
* but forward, but it's even cheaper to implement that by not adding a bbsink
191
191
* at all.
192
192
*/
193
- bbsink *
193
+ static bbsink *
194
194
blackhole_get_sink (bbsink * next_sink , void * detail_arg )
195
195
{
196
196
return next_sink ;
@@ -199,7 +199,7 @@ blackhole_get_sink(bbsink *next_sink, void *detail_arg)
199
199
/*
200
200
* Create a bbsink implementing a server-side backup.
201
201
*/
202
- bbsink *
202
+ static bbsink *
203
203
server_get_sink (bbsink * next_sink , void * detail_arg )
204
204
{
205
205
return bbsink_server_new (next_sink , detail_arg );
@@ -209,7 +209,7 @@ server_get_sink(bbsink *next_sink, void *detail_arg)
209
209
* Implement target-detail checking for a target that does not accept a
210
210
* detail.
211
211
*/
212
- void *
212
+ static void *
213
213
reject_target_detail (char * target , char * target_detail )
214
214
{
215
215
if (target_detail != NULL )
@@ -228,7 +228,7 @@ reject_target_detail(char *target, char *target_detail)
228
228
* should be written, but we don't check that here. Rather, that check,
229
229
* as well as the necessary permissions checking, happens in bbsink_server_new.
230
230
*/
231
- void *
231
+ static void *
232
232
server_check_detail (char * target , char * target_detail )
233
233
{
234
234
if (target_detail == NULL )
0 commit comments