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/buffer.h | |
parent | 448c19077c195fafd244539eeb5315773261fcaf (diff) |
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 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/buffer.h b/src/buffer.h index cb4d245..ff1167f 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -24,17 +24,17 @@ /* Forward declaration */ struct buffer_s; -extern struct buffer_s *new_buffer(void); -extern void delete_buffer(struct buffer_s *buffptr); -extern size_t buffer_size(struct buffer_s *buffptr); +extern struct buffer_s *new_buffer (void); +extern void delete_buffer (struct buffer_s *buffptr); +extern size_t buffer_size (struct buffer_s *buffptr); /* * Add a new line to the given buffer. The data IS copied into the structure. */ -extern int add_to_buffer(struct buffer_s *buffptr, unsigned char *data, - size_t length); +extern int add_to_buffer (struct buffer_s *buffptr, unsigned char *data, + size_t length); -extern ssize_t read_buffer(int fd, struct buffer_s *buffptr); -extern ssize_t write_buffer(int fd, struct buffer_s *buffptr); +extern ssize_t read_buffer (int fd, struct buffer_s *buffptr); +extern ssize_t write_buffer (int fd, struct buffer_s *buffptr); -#endif /* __BUFFER_H_ */ +#endif /* __BUFFER_H_ */ |