pkgsrc/wm/afterstep/patches/patch-aa

31 lines
679 B
Text
Raw Normal View History

2016-05-01 21:30:58 +02:00
$NetBSD: patch-aa,v 1.6 2016/05/01 19:30:58 dholland Exp $
Don't declare own errno.
2005-12-06 14:14:06 +01:00
--- src/afterstep/module.c.orig 2005-12-06 12:58:56.000000000 +0000
+++ src/afterstep/module.c
@@ -33,6 +33,7 @@
#include <signal.h>
#include <stdarg.h>
+#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/file.h>
@@ -380,7 +381,6 @@ LOCAL_DEBUG_OUT( "deleting buffer %p sen
int
FlushQueue (module_t *module)
{
- extern int errno;
int fd;
register struct queue_buff_struct *curr;
@@ -471,7 +471,6 @@ FlushAllQueues()
-#include <sys/errno.h>
static inline int
PositiveWrite (unsigned int channel, send_data_type *ptr, int size)
{