]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.C
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / LyXAction.C
index 55247ae1c061bfb784e4f0e3af1c762212be734f..15c535bd6bf36a694f774514b6eb48c99a8bbd52 100644 (file)
@@ -717,7 +717,7 @@ char const *LyXAction::helpText(kb_action action) const
 
 
 // Function to compare items from the attrib table.
-int actioncomp(const void *a, const void *b)
+extern "C" int actioncomp(const void *a, const void *b)
 {
     int const *ia=(int const*)a, *ib=(int const*)b;
     return (*ia)-(*ib);