From 4dee76f1cd1364718ba385121c00b8b8eb1c917e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 30 Oct 2010 17:43:48 +0200 Subject: replace: Fix formatting. Autobuild-User: Jelmer Vernooij Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104 --- lib/replace/wscript | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/replace/wscript b/lib/replace/wscript index b2fe5bc2de..da788a114c 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -133,7 +133,7 @@ def configure(conf): int s = socket(AF_INET6, SOCK_STREAM, 0); int ret = getaddrinfo(NULL, NULL, NULL, &ai); if (ret != 0) { - const char *es = gai_strerror(ret); + const char *es = gai_strerror(ret); } freeaddrinfo(ai); { @@ -226,7 +226,7 @@ def configure(conf): conf.DEFINE('HAVE_EPOLL', 1) if not conf.CHECK_CODE('''#define LIBREPLACE_CONFIGURE_TEST_STRPTIME - #include "test/strptime.c"''', + #include "test/strptime.c"''', define='HAVE_STRPTIME', addmain=False, msg='Checking for working strptime'): @@ -270,7 +270,7 @@ def configure(conf): conf.SAMBA_BUILD_ENV() conf.CHECK_CODE(''' - typedef struct {unsigned x;} FOOBAR; + typedef struct {unsigned x;} FOOBAR; #define X_FOOBAR(x) ((FOOBAR) { x }) #define FOO_ONE X_FOOBAR(1) FOOBAR f = FOO_ONE; @@ -401,11 +401,11 @@ def build(bld): bld.SAMBA_LIBRARY('replace', source=REPLACE_SOURCE, group='base_libraries', - # FIXME: Ideally symbols should be hidden here so they - # don't appear in the global namespace when Samba - # libraries are loaded, but this doesn't appear to work - # at the moment: - # hide_symbols=bld.BUILTIN_LIBRARY('replace'), + # FIXME: Ideally symbols should be hidden here so they + # don't appear in the global namespace when Samba + # libraries are loaded, but this doesn't appear to work + # at the moment: + # hide_symbols=bld.BUILTIN_LIBRARY('replace'), private_library=True, deps='crypt dl nsl socket rt') -- cgit