diff options
author | Mukund Sivaraman <muks@banu.com> | 2008-12-01 15:01:11 +0000 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2008-12-01 15:01:11 +0000 |
commit | a257703e59163b4f38c38f549179b8e45ac68c63 (patch) | |
tree | d056783c13f4adb25c133899f5d750a2b7123a2f /src/sock.h | |
parent | 448c19077c195fafd244539eeb5315773261fcaf (diff) | |
download | tinyproxy-a257703e59163b4f38c38f549179b8e45ac68c63.tar.gz tinyproxy-a257703e59163b4f38c38f549179b8e45ac68c63.zip |
Reformat code to GNU coding style
This is a commit which simply ran all C source code files
through GNU indent. No other modifications were made.
Diffstat (limited to '')
-rw-r--r-- | src/sock.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -28,13 +28,13 @@ #define MAXLINE (1024 * 4) -extern int opensock(const char *host, int port, const char *bind_to); -extern int listen_sock(uint16_t port, socklen_t * addrlen); +extern int opensock (const char *host, int port, const char *bind_to); +extern int listen_sock (uint16_t port, socklen_t * addrlen); -extern int socket_nonblocking(int sock); -extern int socket_blocking(int sock); +extern int socket_nonblocking (int sock); +extern int socket_blocking (int sock); -extern int getsock_ip(int fd, char *ipaddr); -extern int getpeer_information(int fd, char *ipaddr, char *string_addr); +extern int getsock_ip (int fd, char *ipaddr); +extern int getpeer_information (int fd, char *ipaddr, char *string_addr); #endif |