diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-07-21 21:27:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:54 -0500 |
commit | c84512f0e1c1dd6ac0cb3e9b5e2fbb2f3c0d4eb1 (patch) | |
tree | 81abe1ecfa802a9d77ec4aa27e7b3df134d7e2e2 /source4/build/smb_build/smb_build_h.pm | |
parent | 2a65d17e06da3b1f1f78d9586fd82a79ba2f73a6 (diff) | |
download | samba-c84512f0e1c1dd6ac0cb3e9b5e2fbb2f3c0d4eb1.tar.gz samba-c84512f0e1c1dd6ac0cb3e9b5e2fbb2f3c0d4eb1.tar.bz2 samba-c84512f0e1c1dd6ac0cb3e9b5e2fbb2f3c0d4eb1.zip |
r8690: Code cleanups, improvements necessary for dependencies (not added yet)
(This used to be commit 7384b3c4a1450ad63356dcf586e3a7e7335f8e6d)
Diffstat (limited to 'source4/build/smb_build/smb_build_h.pm')
-rw-r--r-- | source4/build/smb_build/smb_build_h.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/build/smb_build/smb_build_h.pm b/source4/build/smb_build/smb_build_h.pm index e874c77ce8..b6af38035b 100644 --- a/source4/build/smb_build/smb_build_h.pm +++ b/source4/build/smb_build/smb_build_h.pm @@ -99,16 +99,13 @@ sub _prepare_smb_build_h($) # $output - the resulting output buffer sub create_smb_build_h($$) { - my $CTX = shift; - my $file = shift; + my ($CTX, $file) = @_; my $output = "/* autogenerated by config.smb_build.pl */\n"; $output .= _prepare_smb_build_h($CTX); open(SMB_BUILD_H,"> $file") || die ("Can't open $file\n"); - print SMB_BUILD_H $output; - close(SMB_BUILD_H); print "config.smb_build.pl: creating $file\n"; |