summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/header.pm
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-14 13:49:47 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-14 13:49:47 +0200
commita96bba21fa99d7057f001bfc159930052d83d974 (patch)
tree3d00eba12b29f6ff939110bccf26021c78334fee /source4/build/smb_build/header.pm
parentca78fa8cae96099055a6ae7a0963c2b2789f2b87 (diff)
parent7cf29ac84e2f45dfc56d5e46678a96527a38a1c1 (diff)
downloadsamba-a96bba21fa99d7057f001bfc159930052d83d974.tar.gz
samba-a96bba21fa99d7057f001bfc159930052d83d974.tar.bz2
samba-a96bba21fa99d7057f001bfc159930052d83d974.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 92751a73cd854365d365db854179bfd5aeabe7a2)
Diffstat (limited to 'source4/build/smb_build/header.pm')
-rw-r--r--source4/build/smb_build/header.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/source4/build/smb_build/header.pm b/source4/build/smb_build/header.pm
index c2bdbaf4c8..ffac5e2601 100644
--- a/source4/build/smb_build/header.pm
+++ b/source4/build/smb_build/header.pm
@@ -42,17 +42,6 @@ sub _prepare_build_h($)
$DEFINE->{VAL} = "\\\n";
foreach (@{$key->{INIT_FUNCTIONS}}) {
$DEFINE->{VAL} .= "\t$_, \\\n";
- unless (/{/) {
- my $fn = $key->{INIT_FUNCTION_TYPE};
- my $n = $_;
- if ($fn =~ /\(\*\)/) {
- $fn =~ s/\(\*\)/$n/;
- $output .= "$fn;\n";
- } else {
- $n =~ s/\&//;
- $output .= "$fn $n;\n";
- }
- }
}
$DEFINE->{VAL} .= "\t$key->{INIT_FUNCTION_SENTINEL} \n";