diff options
Diffstat (limited to 'lib/network.h')
| -rw-r--r-- | lib/network.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/network.h b/lib/network.h index a9126caf7f..e89e07ec85 100644 --- a/lib/network.h +++ b/lib/network.h @@ -17,7 +17,7 @@ * You should have received a copy of the GNU General Public License * along with GNU Zebra; see the file COPYING. If not, write to the Free * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. + * 02111-1307, USA. */ #ifndef _ZEBRA_NETWORK_H @@ -26,8 +26,8 @@ /* Both readn and writen are deprecated and will be removed. They are not suitable for use with non-blocking file descriptors. */ -extern int readn (int, u_char *, int); -extern int writen (int, const u_char *, int); +extern int readn(int, u_char *, int); +extern int writen(int, const u_char *, int); /* Set the file descriptor to use non-blocking I/O. Returns 0 for success, -1 on error. */ @@ -36,10 +36,10 @@ extern int set_nonblocking(int fd); extern int set_cloexec(int fd); /* Does the I/O error indicate that the operation should be retried later? */ -#define ERRNO_IO_RETRY(EN) \ +#define ERRNO_IO_RETRY(EN) \ (((EN) == EAGAIN) || ((EN) == EWOULDBLOCK) || ((EN) == EINTR)) -extern float htonf (float); -extern float ntohf (float); +extern float htonf(float); +extern float ntohf(float); #endif /* _ZEBRA_NETWORK_H */ |
