diff --git a/ssh-push.c b/ssh-push.c
index db69c889e79da7afac3fc7791000fd31ec61adb5..090d6f9f8fbde2d736ac5bf563415b0fa402b5aa 100644 (file)
--- a/ssh-push.c
+++ b/ssh-push.c
#include <string.h>
-unsigned char local_version = 1;
-unsigned char remote_version = 0;
+static unsigned char local_version = 1;
+static unsigned char remote_version = 0;
-int serve_object(int fd_in, int fd_out) {
+static int serve_object(int fd_in, int fd_out) {
ssize_t size;
int posn = 0;
unsigned char sha1[20];
return 0;
}
-int serve_version(int fd_in, int fd_out)
+static int serve_version(int fd_in, int fd_out)
{
if (read(fd_in, &remote_version, 1) < 1)
return -1;
return 0;
}
-int serve_ref(int fd_in, int fd_out)
+static int serve_ref(int fd_in, int fd_out)
{
char ref[PATH_MAX];
unsigned char sha1[20];
}
-void service(int fd_in, int fd_out) {
+static void service(int fd_in, int fd_out) {
char type;
int retval;
do {