summaryrefslogtreecommitdiff
path: root/xtrapin.c
diff options
context:
space:
mode:
Diffstat (limited to 'xtrapin.c')
-rw-r--r--xtrapin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xtrapin.c b/xtrapin.c
index face0c4..67b59d6 100644
--- a/xtrapin.c
+++ b/xtrapin.c
@@ -102,8 +102,8 @@ extern int opterr;
static Boolean grabFlag = False;
-FILE *ifp;
-XrmOptionDescRec optionTable [] =
+static FILE *ifp;
+static XrmOptionDescRec optionTable [] =
{
{"-f", "*script", XrmoptionSepArg, (caddr_t) NULL},
{"-g", "*grabServer",XrmoptionSkipArg, (caddr_t) NULL},
@@ -181,7 +181,7 @@ main(int argc, char *argv[])
#endif
printf("Display: %s \n", DisplayString(dpy));
- if ((tc = XECreateTC(dpy,0L, NULL)) == False)
+ if ((tc = XECreateTC(dpy,0L, NULL)) == NULL)
{
fprintf(stderr,"%s: could not initialize XTrap extension\n", ProgName);
exit (1L);