diff options
author | Peter Powell <petpow@saberuk.com> | 2013-04-02 20:12:15 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-04-12 17:03:05 +0100 |
commit | 11cafc12d5440b67a9f676c9f6aa67840ca5399d (patch) | |
tree | 7c8eac3b1ad474fdaf42767bffee7c3c4b4cce48 /configure | |
parent | a5fe50aca04ca554d313e7361c571c6a497a9c4e (diff) |
Tidy up source files:
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -876,8 +876,7 @@ sub writefiles { open(FILEHANDLE, ">include/config.h.tmp"); print FILEHANDLE <<EOF; /* Auto generated by configure, do not modify! */ -#ifndef __CONFIGURATION_AUTO__ -#define __CONFIGURATION_AUTO__ +#pragma once #define BRANCH "$branch" #define VERSION "$version" @@ -946,7 +945,7 @@ print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n"; $config{SOCKETENGINE} = "socketengine_select"; } } - print FILEHANDLE "\n#include \"threadengines/threadengine_pthread.h\"\n\n#endif\n"; + print FILEHANDLE "\n#include \"threadengines/threadengine_pthread.h\"\n"; close(FILEHANDLE); my $file = 'include/config.h'; |