lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [5928] Abjure obsolescent server's "C" linkage


From: Greg Chicares
Subject: [lmi-commits] [5928] Abjure obsolescent server's "C" linkage
Date: Fri, 11 Jul 2014 22:21:18 +0000

Revision: 5928
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5928
Author:   chicares
Date:     2014-07-11 22:21:17 +0000 (Fri, 11 Jul 2014)
Log Message:
-----------
Abjure obsolescent server's "C" linkage

Modified Paths:
--------------
    lmi/trunk/ihs_server7702.cpp
    lmi/trunk/ihs_server7702.hpp

Modified: lmi/trunk/ihs_server7702.cpp
===================================================================
--- lmi/trunk/ihs_server7702.cpp        2014-07-11 11:57:33 UTC (rev 5927)
+++ lmi/trunk/ihs_server7702.cpp        2014-07-11 22:21:17 UTC (rev 5928)
@@ -48,7 +48,6 @@
 }
 
 //============================================================================
-// Read from C struct, and return a different C struct
 Server7702Output RunServer7702FromStruct(Server7702Input a_Input)
 {
     EnterServer();

Modified: lmi/trunk/ihs_server7702.hpp
===================================================================
--- lmi/trunk/ihs_server7702.hpp        2014-07-11 11:57:33 UTC (rev 5927)
+++ lmi/trunk/ihs_server7702.hpp        2014-07-11 22:21:17 UTC (rev 5928)
@@ -32,10 +32,7 @@
 #include <stdexcept>
 #include <string>
 
-extern "C"
-{
-    Server7702Output LMI_SO RunServer7702FromStruct(Server7702Input a_Input);
-}
+Server7702Output LMI_SO RunServer7702FromStruct(Server7702Input a_Input);
 
 class Server7702
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]