commit 3f7715c50e6cd7688b92b5e521b174f418ecf749
parent fbc5603511db870a42ab8a791299dc2e5b171710
Author: Kyle Milz <krwmilz@gmail.com>
Date: Thu, 26 Aug 2021 03:50:37 +0000
Remove all lint preprocessor conditionals
Diffstat:
3 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/special.c b/special.c
@@ -410,9 +410,6 @@ flush_spline()
int j;
int i, w;
-#ifdef lint
- lastx = lasty = -1;
-#endif
N = path_len + 1;
xx[0] = xx[1];
yy[0] = yy[1];
diff --git a/xdvi.c b/xdvi.c
@@ -70,11 +70,6 @@ NOTE:
#include "xdvi.h"
#include "http.h"
-#if !lint
-static char copyright[] UNUSED =
-"@(#) Copyright (c) 1994-2003 Paul Vojta. All rights reserved.\n";
-#endif
-
#include <math.h> /* sometimes includes atof() */
#include <ctype.h>
@@ -184,11 +179,6 @@ struct WindowRec alt = {(Window) 0, 1, 0, 0, 0, 0, MAXDIM, 0, MAXDIM, 0};
/* currwin is temporary storage except for within redraw() */
struct WindowRec currwin= {(Window) 0, 1, 0, 0, 0, 0, MAXDIM, 0, MAXDIM, 0};
-#ifdef lint
-WidgetClass widgetClass;
-WidgetClass viewportWidgetClass;
-#endif /* lint */
-
static char * atom_names[] = {"XDVI WINDOWS", "DVI NAME", "SRC GOTO",
"WM_DELETE_WINDOW",
"WM_PROTOCOLS",
@@ -543,9 +533,6 @@ QueryGeometry(w, constraints, reply)
#include <X11/IntrinsicP.h>
#include <X11/CoreP.h>
-#ifdef lint
-WidgetClassRec widgetClassRec;
-#endif
/* if the following gives you trouble, just compile with -DNOQUERY */
static WidgetClassRec drawingWidgetClass = {
diff --git a/xdvi.h b/xdvi.h
@@ -49,12 +49,7 @@ NOTE:
#include <X11/Xutil.h> /* needed for XDestroyImage */
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
-
-
#include <X11/Intrinsic.h>
-#if defined(lint)
-# include <X11/IntrinsicP.h>
-#endif
#if EXTRA_APP_DEFAULTS && !SELFAUTO