wdvi

network DVI viewer
Log | Files | Refs

commit a40b7292b0027e2cd8568e325dc67da5cbb6b597
parent 1d8d59663d40f296e924467101e42da498221642
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Thu, 19 Aug 2021 23:44:32 +0000

assume FASYNC is defined

This seems to be synonymous with O_ASYNC and is defined as such on OpenBSD
but it might be worth converting instances of FASYNC in this tree.

Diffstat:
Mevents.c | 7-------
Mutil.c | 5-----
2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/events.c b/events.c @@ -49,15 +49,8 @@ NOTE: #define XBell(dpy, percent) XkbBell(dpy, mane.win, percent, (Atom) None) #include <signal.h> -#include <sys/file.h> /* this defines FASYNC */ -#include <sys/ioctl.h> /* this defines SIOCSPGRP and FIOASYNC */ #include <sys/wait.h> /* we always need WNOHANG */ -/* Linux prefers O_ASYNC over FASYNC; SGI IRIX does the opposite. */ -#if !defined(FASYNC) && defined(O_ASYNC) -#define FASYNC O_ASYNC -#endif - #ifndef SIGPOLL #define SIGPOLL SIGIO #endif diff --git a/util.c b/util.c @@ -42,11 +42,6 @@ NOTE: #include <stdarg.h> -/* Linux prefers O_ASYNC over FASYNC; SGI IRIX does the opposite. */ -#if !defined(FASYNC) && defined(O_ASYNC) -# define FASYNC O_ASYNC -#endif - /* * General utility routines.