mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
![Denton Liu](/assets/img/avatar_default.png)
In previous patches, extern was mechanically removed from function declarations without care to formatting, causing parameter lists to be misaligned. Manually format changed sections such that the parameter lists should be realigned. Viewing this patch with 'git diff -w' should produce no output. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 lines
336 B
C
16 lines
336 B
C
#ifndef SERVE_H
|
|
#define SERVE_H
|
|
|
|
struct argv_array;
|
|
int has_capability(const struct argv_array *keys, const char *capability,
|
|
const char **value);
|
|
|
|
struct serve_options {
|
|
unsigned advertise_capabilities;
|
|
unsigned stateless_rpc;
|
|
};
|
|
#define SERVE_OPTIONS_INIT { 0 }
|
|
void serve(struct serve_options *options);
|
|
|
|
#endif /* SERVE_H */
|