Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym
[oweals/cde.git] / cde / lib / DtSvc / DtEncap / spc-sm.c
index 1e25b3e66415906af1d8007ad6822df735952e9f..be7eb28835167facf2be02b69760de636cba60cc 100644 (file)
@@ -1,3 +1,25 @@
+/*
+ * CDE - Common Desktop Environment
+ *
+ * Copyright (c) 1993-2012, The Open Group. All rights reserved.
+ *
+ * These libraries and programs are free software; you can
+ * redistribute them and/or modify them under the terms of the GNU
+ * Lesser General Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * These libraries and programs are distributed in the hope that
+ * they will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * 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
+ */
 /*
  * File:         spc-sm.c $XConsortium: spc-sm.c /main/4 1996/04/21 19:10:39 drk $
  * Language:     C
@@ -44,6 +66,7 @@ static int (* spc_state_table[16]) (SPC_Channel_Ptr channel, int connector)= {
   };
 
 /*----------------------------------------------------------------------+*/
+int
 SPC_Change_State(SPC_Channel_Ptr channel,
                 int connector, 
                 int data_line, 
@@ -110,6 +133,7 @@ SPC_Change_State(SPC_Channel_Ptr channel,
    error condition in the state table */
 
 /*----------------------------------------------------------------------+*/
+int
 error_fun(SPC_Channel_Ptr UNUSED_PARM(channel),
          int             UNUSED_PARM(connector))
 /*----------------------------------------------------------------------+*/
@@ -130,6 +154,7 @@ error_fun(SPC_Channel_Ptr UNUSED_PARM(channel),
 */
 
 /*----------------------------------------------------------------------+*/
+int
 connector_eof(SPC_Channel_Ptr channel,
              int connector)
 /*----------------------------------------------------------------------+*/
@@ -174,6 +199,7 @@ connector_eof(SPC_Channel_Ptr channel,
 
   
 /*----------------------------------------------------------------------+*/
+int
 connector_eof_with_reset(SPC_Channel_Ptr channel,
                         int connector)
 /*----------------------------------------------------------------------+*/
@@ -194,6 +220,7 @@ connector_eof_with_reset(SPC_Channel_Ptr channel,
 */
 
 /*----------------------------------------------------------------------+*/
+int
 sigcld_with_reset(SPC_Channel_Ptr channel,
                  int             UNUSED_PARM(connector))
 /*----------------------------------------------------------------------+*/