eina_module_find: constness and gcc attribute.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 23 Nov 2009 13:20:34 +0000 (13:20 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 23 Nov 2009 13:20:34 +0000 (13:20 +0000)
commitf956b6c1ca9da7c8c38e4835aab4bdf0a69a1775
treed57f0dda8a1322e9f4581536ac7f0e944c74a289
parent0dde084ed18da81bd8956dd1dce89c2f3524912b
eina_module_find: constness and gcc attribute.

Mark both array and module as const as we'll not modify them anyhow
inside this function.

Also mark this function as pure, so gcc will know how to optimize
multiple calls of it. Not that important for this function, but
doesn't hurt either.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@43918 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/include/eina_module.h
src/lib/eina_module.c