diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-21 15:44:01 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-21 15:44:01 -0200 |
commit | 7d42ea90bc9494f248d5fc5ed4c0ae9c90e6e6ca (patch) | |
tree | 8357012a9bfd79a95cca0e7e780dc2c47ec3cabb /xfindproxy.c | |
parent | 8f43f498326ffc7491dc2c1e9feec39c74dfdcbb (diff) |
Correct make distcheck and some sparse/gcc warnings.
Most remaining warnings are due to a macro that checks if it's
argument is not NULL, but arguments are strings in the stack.
Diffstat (limited to 'xfindproxy.c')
-rw-r--r-- | xfindproxy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfindproxy.c b/xfindproxy.c index aa2385f..bb144c2 100644 --- a/xfindproxy.c +++ b/xfindproxy.c @@ -54,13 +54,13 @@ static void _XtIceWatchProc(IceConn ice_conn, IcePointer client_data, Bool opening, IcePointer *watch_data); static Status InitWatchProcs(XtAppContext appContext); -int PMopcode; +static int PMopcode; -int PMversionCount = 1; -IcePoVersionRec PMversions[] = +static int PMversionCount = 1; +static IcePoVersionRec PMversions[] = {{PM_MAJOR_VERSION, PM_MINOR_VERSION, PMprocessMessages}}; -XtAppContext appContext; +static XtAppContext appContext; typedef struct { int status; |