mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
The has_capability() function introduced ined10cb952d(serve: introduce git-serve, 2018-03-15) has never been used anywhere except serve.c, so let's mark it as static. It was later changed from "extern" in554544276a(*.[ch]: remove extern from function declarations using spatch, 2019-04-29), but we could have simply marked it as "static" instead. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 lines
216 B
C
12 lines
216 B
C
#ifndef SERVE_H
|
|
#define SERVE_H
|
|
|
|
struct serve_options {
|
|
unsigned advertise_capabilities;
|
|
unsigned stateless_rpc;
|
|
};
|
|
#define SERVE_OPTIONS_INIT { 0 }
|
|
void serve(struct serve_options *options);
|
|
|
|
#endif /* SERVE_H */
|