]> git.pld-linux.org Git - packages/camserv.git/blob - camserv-errno.patch
- dropped pre-cvs changelog
[packages/camserv.git] / camserv-errno.patch
1 --- camserv-0.5.1/camserv/camserv.c.orig        Sun May 12 20:05:55 2002
2 +++ camserv-0.5.1/camserv/camserv.c     Wed Jul  9 10:54:46 2003
3 @@ -19,6 +19,7 @@
4  
5  #include "camserv_config.h"
6  
7 +#include <errno.h>
8  #include <stdio.h>
9  #include <stdlib.h>
10  #include <string.h>
11 @@ -153,7 +154,6 @@
12    CamConfig *camcfg;
13    char *shm_segment, tmpbuf[ 1024 ], cfg_path[ MAXPATHLEN ];
14    int fd, shm_alloc, donecfg;
15 -  extern int errno;
16  
17    donecfg = 0;
18    if (argc >= 2) {
19 --- camserv-0.5.1/camserv/main_loop.c.orig      Mon Sep 16 00:05:23 2002
20 +++ camserv-0.5.1/camserv/main_loop.c   Wed Jul  9 10:55:11 2003
21 @@ -1,3 +1,4 @@
22 +#include <errno.h>
23  #include <stdio.h>
24  #include <stdlib.h>
25  #include <string.h>
26 @@ -14,8 +15,6 @@
27  #include "list.h"
28  #include "log.h"
29  
30 -extern int errno;
31 -
32  static int Abort = 0;
33  
34  #define CINFO_STATE_PREAMBLE    0
35 --- camserv-0.5.1/camserv/picture_loop.c.orig   Mon Mar 11 01:51:44 2002
36 +++ camserv-0.5.1/camserv/picture_loop.c        Wed Jul  9 10:55:30 2003
37 @@ -1,3 +1,4 @@
38 +#include <errno.h>
39  #include <stdio.h>
40  #include <stdlib.h>
41  #include <string.h>
42 @@ -244,7 +245,6 @@
43  {
44    Filter *filters;
45    Video_Funcs vfuncs;
46 -  extern int errno;
47    void *vid_device = NULL;
48    char *pic_snap = NULL, vidsec[ 1024 ];
49    Video_Geometry geom;
50 --- camserv-0.5.1/relay/relay.c.orig    Mon Sep 16 00:13:16 2002
51 +++ camserv-0.5.1/relay/relay.c Wed Jul  9 11:07:20 2003
52 @@ -18,6 +18,7 @@
53   */
54  
55  #include "camserv_config.h"
56 +#include <errno.h>
57  #include <stdio.h>
58  #include <stdlib.h>
59  #include <string.h>
60 @@ -34,8 +35,6 @@
61  
62  #define BACKLOG  20
63  
64 -extern int errno;
65 -
66  #define CLIENT_T_UNK              0
67  #define CLIENT_T_CAMSERV          1
68  #define CLIENT_T_BROWSER          2
This page took 0.0879490000000001 seconds and 3 git commands to generate.