]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
ruby: extern linkage portability improvement
authorTomi Ollila <tomi.ollila@iki.fi>
Sun, 24 Jun 2012 18:48:34 +0000 (21:48 +0300)
committerDavid Bremner <bremner@debian.org>
Sat, 30 Jun 2012 01:24:17 +0000 (22:24 -0300)
Some C compilers are stricter when it comes to (tentative) definition
of a variable -- in those compilers introducing variable without 'extern'
keyword always allocates new 'storage' to the variable and linking all
these modules fails due to duplicate symbols.

This is reimplementation of Charlie Allom's patch:
id:"1336481467-66356-1-git-send-email-charlie@mediasp.com",
written originally by Ali Polatel. This version has
more accurate commit message.


No differences found