]> git.pld-linux.org Git - packages/doomlegacy.git/blob - doomlegacy-errno.patch
- caps unification, other cosmetics
[packages/doomlegacy.git] / doomlegacy-errno.patch
1 --- doomlegacy-1.40/doomlegacy_src/linux_x/i_sound.c.orig       Fri Mar  7 22:14:51 2003
2 +++ doomlegacy-1.40/doomlegacy_src/linux_x/i_sound.c    Fri Mar  7 22:18:30 2003
3 @@ -88,6 +88,7 @@
4  #include <sys/filio.h>
5  #endif
6  
7 +#include <errno.h>
8  #include <fcntl.h>
9  #include <unistd.h>
10  #include <sys/ioctl.h>
11 @@ -261,7 +262,6 @@
12    int*  arg )
13  {   
14      int         rc;
15 -    extern int  errno;
16      
17      rc = ioctl(fd, command, arg);  
18      if (rc < 0)
19 --- doomlegacy-1.40/doomlegacy_src/linux_x/sndserv/linux.c.orig Sun Sep 22 00:35:57 2002
20 +++ doomlegacy-1.40/doomlegacy_src/linux_x/sndserv/linux.c      Fri Mar  7 22:22:26 2003
21 @@ -39,6 +39,7 @@
22  
23  #include <stdlib.h>
24  #include <stdio.h>
25 +#include <errno.h>
26  #include <fcntl.h>
27  #include <unistd.h>
28  #include <sys/ioctl.h>
29 @@ -67,7 +68,6 @@
30    int*  arg )
31  {   
32      int         rc;
33 -    extern int  errno;
34      
35      rc = ioctl(fd, command, arg);  
36      if (rc < 0)
This page took 0.090376 seconds and 3 git commands to generate.