aboutsummaryrefslogtreecommitdiff
path: root/libX11/modules/im/ximcp/imInt.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-25 12:47:39 +0000
committermarha <marha@users.sourceforge.net>2009-07-25 12:47:39 +0000
commitcb897b8ffca0a68c017c2edfa523cb5ff0491962 (patch)
tree8b4e9e320258d5280ce454163c49363030626c1a /libX11/modules/im/ximcp/imInt.c
parent213d71f78d6f9e35b23c00e35f9919efc9670b1e (diff)
parentc87efef42f76c2ff0dcfad2842ab369beffd21de (diff)
downloadvcxsrv-cb897b8ffca0a68c017c2edfa523cb5ff0491962.tar.gz
vcxsrv-cb897b8ffca0a68c017c2edfa523cb5ff0491962.tar.bz2
vcxsrv-cb897b8ffca0a68c017c2edfa523cb5ff0491962.zip
svn merge file:///D:/svnrepos/vcxsrv/branches/released .
Diffstat (limited to 'libX11/modules/im/ximcp/imInt.c')
-rw-r--r--libX11/modules/im/ximcp/imInt.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/libX11/modules/im/ximcp/imInt.c b/libX11/modules/im/ximcp/imInt.c
index c759cf375..6ca7a1c88 100644
--- a/libX11/modules/im/ximcp/imInt.c
+++ b/libX11/modules/im/ximcp/imInt.c
@@ -11,7 +11,7 @@ in supporting documentation, and that the name of FUJITSU LIMITED
not be used in advertising or publicity pertaining to distribution
of the software without specific, written prior permission.
FUJITSU LIMITED makes no representations about the suitability of
-this software for any purpose.
+this software for any purpose.
It is provided "as is" without express or implied warranty.
FUJITSU LIMITED DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
@@ -22,7 +22,7 @@ USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
- Author: Takashi Fujiwara FUJITSU LIMITED
+ Author: Takashi Fujiwara FUJITSU LIMITED
fujiwara@a80.tech.yk.fujitsu.co.jp
******************************************************************/
@@ -63,7 +63,7 @@ _XimSetIMStructureList(
}
}
if(i >= _XimCurrentIMcount) {
- if(!(xim = (Xim *)Xrealloc(_XimCurrentIMlist,
+ if(!(xim = (Xim *)Xrealloc(_XimCurrentIMlist,
((i + 1) * sizeof(Xim)))))
return False;
_XimCurrentIMlist = xim;
@@ -75,8 +75,7 @@ _XimSetIMStructureList(
}
Public void
-_XimDestroyIMStructureList(im)
- Xim im;
+_XimDestroyIMStructureList(Xim im)
{
register int i;
@@ -90,8 +89,7 @@ _XimDestroyIMStructureList(im)
}
Public void
-_XimServerDestroy(im_2_destroy)
- Xim im_2_destroy;
+_XimServerDestroy(Xim im_2_destroy)
{
register int i;
Xim im;
@@ -125,7 +123,7 @@ _XimServerDestroy(im_2_destroy)
#ifdef XIM_CONNECTABLE
Public void
-_XimServerReconectableDestroy()
+_XimServerReconectableDestroy(void)
{
register int i;
Xim im;
@@ -157,7 +155,7 @@ _XimStrstr(
register const char *dest)
{
int len;
-
+
len = strlen(dest);
while((src = strchr(src, *dest))) {
if(!strncmp(src, dest, len))
@@ -207,7 +205,7 @@ _XimOpenIM(
{
Xim im;
register int i;
-
+
if (!(im = (Xim)Xmalloc(sizeof(XimRec))))
return (XIM)NULL;
bzero(im, sizeof(XimRec));
@@ -259,8 +257,7 @@ Error1:
}
Public Bool
-_XInitIM(lcd)
- XLCd lcd;
+_XInitIM(XLCd lcd)
{
if(lcd == (XLCd)NULL)
return False;