Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym
[oweals/cde.git] / cde / lib / DtSvc / DtEncap / remote.c
index ed9131d2e5da8f7d0192a01fa131fd1742af6d86..b10163031c25fa7bf1267dbcbc06c78f4130e9fd 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -221,7 +221,7 @@ int reset_remote_channel_object(SPC_Channel_Ptr channel)
      flush any queued data on this channel. */
 
   {
-    if (tmpqueue=channel->queued_remote_data)
+    if ((tmpqueue=channel->queued_remote_data))
     {
       Xe_for_queue(protocol_request_ptr, prot, tmpqueue) {
        Xe_delete_queue_element(channel->queued_remote_data, prot);
@@ -402,6 +402,7 @@ int attach_remote_channel_object(SPC_Channel_Ptr channel,
 }
 
 /*----------------------------------------------------------------------+*/
+int
 remove_logfile_remote_channel_object(SPC_Channel_Ptr channel)
 /*----------------------------------------------------------------------+*/
 {
@@ -448,6 +449,7 @@ int add_input_remote_channel_object(SPC_Channel_Ptr channel,
 }
 
 /*----------------------------------------------------------------------+*/
+int
 SPC_Debug_Mode(SPC_Channel_Ptr channel,
               XeString file)
 /*----------------------------------------------------------------------+*/