diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-15 01:52:55 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-15 01:52:55 +0200 |
commit | b62d7aa8eb2da784186b8cd903775dd12c3f34f7 (patch) | |
tree | c6066e1a94b488ffb8e5d56ba0888e9675fbcadb /source4/build/smb_build/header.pm | |
parent | d04926914ad0d9ecd7dee3e156198d6baf788598 (diff) | |
download | samba-b62d7aa8eb2da784186b8cd903775dd12c3f34f7.tar.gz samba-b62d7aa8eb2da784186b8cd903775dd12c3f34f7.tar.bz2 samba-b62d7aa8eb2da784186b8cd903775dd12c3f34f7.zip |
Make sure init function sentinels are set for modules.
(This used to be commit fac3463dd505404998b6b00526f1dad6ae47ba84)
Diffstat (limited to 'source4/build/smb_build/header.pm')
-rw-r--r-- | source4/build/smb_build/header.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/build/smb_build/header.pm b/source4/build/smb_build/header.pm index ffac5e2601..dfb7c62e54 100644 --- a/source4/build/smb_build/header.pm +++ b/source4/build/smb_build/header.pm @@ -44,6 +44,7 @@ sub _prepare_build_h($) $DEFINE->{VAL} .= "\t$_, \\\n"; } + die("Invalid sentinel") unless ($key->{INIT_FUNCTION_SENTINEL}); $DEFINE->{VAL} .= "\t$key->{INIT_FUNCTION_SENTINEL} \n"; push(@defines,$DEFINE); |