Gabriel Ivăncescu (@insn) commented about tools/lto.h:
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
+#ifndef __WINE_LTO_H +#define __WINE_LTO_H
+#ifndef __WINE_TOOLS_H +# error You must include tools.h to use this header +#endif
+__attribute__((used)) +static void append_lto_flags( struct strarray *args, int with_lto, int prefer_env )
Wait, what is the point of this? `static` and unused is completely useless.