summaryrefslogtreecommitdiff
path: root/src/XawIm.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-23 18:08:09 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-23 18:08:09 -0300
commit89416252097c97833c879dc2be56d2b6cd6a8f88 (patch)
tree5cce1cc722dd5615182b0d945b09c26e08b3bb73 /src/XawIm.c
parent43cb3d388eae5a814ac4f36edca5780a6ea4934f (diff)
Minor set of trivial corrections.
Ansify two non ansified functions definitions. Don't declare a variable that is not used. Actually declare the prototype a function that is defined unconditionally.
Diffstat (limited to 'src/XawIm.c')
-rw-r--r--src/XawIm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/XawIm.c b/src/XawIm.c
index 24b647d..24a6078 100644
--- a/src/XawIm.c
+++ b/src/XawIm.c
@@ -180,8 +180,7 @@ static XtResource resources[] =
#undef Offset
-static VendorShellWidget SearchVendorShell( w )
- Widget w;
+static VendorShellWidget SearchVendorShell(Widget w)
{
while(w && !XtIsShell(w)) w = XtParent(w);
if (w && XtIsVendorShell(w)) return((VendorShellWidget)w);