From abfcc198afec3d9f3aa6bb89f138571d1991e239 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Thu, 14 Nov 2013 14:07:20 +0100 Subject: [PATCH] sync to openbsd --- libsndio/aucat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsndio/aucat.c b/libsndio/aucat.c index c19f195..bf66b5e 100644 --- a/libsndio/aucat.c +++ b/libsndio/aucat.c @@ -72,8 +72,8 @@ random_bytes(unsigned char *buf, int len) close(fd); return 1; } -#endif +#endif /* * read a message, return 0 if not completed */ @@ -238,7 +238,7 @@ _aucat_wdata(struct aucat *hdl, const void *buf, size_t len, return n; } -int +static int aucat_mkcookie(unsigned char *cookie) { struct stat sb; @@ -324,7 +324,7 @@ bad_gen: return 1; } -int +static int aucat_connect_tcp(struct aucat *hdl, char *host, unsigned int unit) { int s, error, opt; @@ -371,7 +371,7 @@ aucat_connect_tcp(struct aucat *hdl, char *host, unsigned int unit) return 1; } -int +static int aucat_connect_un(struct aucat *hdl, unsigned int unit) { struct sockaddr_un ca;