diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2009-07-21 20:26:53 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2009-07-21 20:26:53 +0200 |
commit | 230f3167b70b5d73b3d9c0c650c9a654c06ccb51 (patch) | |
tree | ffb0bd3f9abc4c5c9bd88c566ae5a08078662f17 /src/general.c | |
parent | 34ba9fa9083c655e5ba06cecd46da157eb07d980 (diff) |
Add modelines and retab! all files
Diffstat (limited to 'src/general.c')
-rw-r--r-- | src/general.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/general.c b/src/general.c index 4c110e4..62d242d 100644 --- a/src/general.c +++ b/src/general.c @@ -1,3 +1,4 @@ +// vim:ts=8:expandtab #include <sys/types.h> #include <string.h> #include <stdarg.h> @@ -13,13 +14,13 @@ * */ void slurp(char *filename, char *destination, int size) { - int fd; + int fd; - if ((fd = open(filename, O_RDONLY)) == -1) - die("Could not open \"%s\"\n", filename); + if ((fd = open(filename, O_RDONLY)) == -1) + die("Could not open \"%s\"\n", filename); - (void)read(fd, destination, size); - (void)close(fd); + (void)read(fd, destination, size); + (void)close(fd); } /* |