summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-14 11:54:50 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-14 11:54:50 +0200
commitf78bc8c489b02b521e9ecbdbdc72d160c6911b6b (patch)
treeb2704525b5bb213190dd67f70362b2b775b639f0 /source4/build
parent60a6682c855cbe5094433881649e7ed4945a06e7 (diff)
downloadsamba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.tar.gz
samba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.tar.bz2
samba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.zip
Remove prototypes from build.h in preparation of removing build.h
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
Diffstat (limited to 'source4/build')
-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";