In the case of ewl, most of the functions are public so that external modules can inherit and override defaults. Any truly private functions are static. Did you see something specific in ewl that would benefit?
On 11/4/07, Gustavo Sverzut Barbieri <[EMAIL PROTECTED] com> wrote: > Hi guys, > > I tried to compile CVS with LDFLAGS="-fvisibility=hidden" and to my > double surprise: 1) most modules built fine, 2) things that would > benefit most, don't use it :-/ > > Modules that miss "EAPI" (or __attribute__ ((visibility("default")))): > > e_dbus > efreet > etk > ewl > > > Also, please try to use the other hints, like "pure", "const", > "malloc", "unused", "nonnull", "warn_unused_result". They're really > easy to use, just define some macros with one or more of them using a > clever name and we might getter some better results. You might get > some examples from "info gcc" and from google. It's a minor > optimization, but given the required work, it worth it. > > -- > Gustavo Sverzut Barbieri > -------------------------------------- > Jabber: [EMAIL PROTECTED] > MSN: [EMAIL PROTECTED] > ICQ#: 17249123 > Skype: gsbarbieri > Mobile: +55 (81) 9927 0010 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get. splunk.com/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge. net/lists/listinfo/enlightenment-devel > rceforge. net/lists/listinfo/enlightenment-devel > rceforge. net/lists/listinfo/enlightenment-devel > On 11/4/07, Gustavo Sverzut Barbieri <[EMAIL PROTECTED]> wrote: > Hi guys, > > I tried to compile CVS with LDFLAGS="-fvisibility=hidden" and to my > double surprise: 1) most modules built fine, 2) things that would > benefit most, don't use it :-/ > > Modules that miss "EAPI" (or __attribute__ ((visibility("default")))): > > e_dbus > efreet > etk > ewl > > > Also, please try to use the other hints, like "pure", "const", > "malloc", "unused", "nonnull", "warn_unused_result". They're really > easy to use, just define some macros with one or more of them using a > clever name and we might getter some better results. You might get > some examples from "info gcc" and from google. It's a minor > optimization, but given the required work, it worth it. > > -- > Gustavo Sverzut Barbieri > -------------------------------------- > Jabber: [EMAIL PROTECTED] > MSN: [EMAIL PROTECTED] > ICQ#: 17249123 > Skype: gsbarbieri > Mobile: +55 (81) 9927 0010 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel