File tree Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -268,21 +268,6 @@ void strbuf_addbuf(struct strbuf *sb, const struct strbuf *sb2)
268
268
strbuf_setlen (sb , sb -> len + sb2 -> len );
269
269
}
270
270
271
- const char * strbuf_join_argv (struct strbuf * buf ,
272
- int argc , const char * * argv , char delim )
273
- {
274
- if (!argc )
275
- return buf -> buf ;
276
-
277
- strbuf_addstr (buf , * argv );
278
- while (-- argc ) {
279
- strbuf_addch (buf , delim );
280
- strbuf_addstr (buf , * (++ argv ));
281
- }
282
-
283
- return buf -> buf ;
284
- }
285
-
286
271
void strbuf_addchars (struct strbuf * sb , int c , size_t n )
287
272
{
288
273
strbuf_grow (sb , n );
Original file line number Diff line number Diff line change @@ -288,13 +288,6 @@ static inline void strbuf_addstr(struct strbuf *sb, const char *s)
288
288
*/
289
289
void strbuf_addbuf (struct strbuf * sb , const struct strbuf * sb2 );
290
290
291
- /**
292
- * Join the arguments into a buffer. `delim` is put between every
293
- * two arguments.
294
- */
295
- const char * strbuf_join_argv (struct strbuf * buf , int argc ,
296
- const char * * argv , char delim );
297
-
298
291
/**
299
292
* This function can be used to expand a format string containing
300
293
* placeholders. To that end, it parses the string and calls the specified
You can’t perform that action at this time.
0 commit comments