summaryrefslogtreecommitdiff
path: root/misc/brs/files/patch-ad
blob: f13e8744e91d569c3d4dbe477e90eeb3f4279921 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
*** tsl.c.orig	Wed Aug  9 19:47:29 1995
--- tsl.c	Fri Nov 21 17:31:35 2003
***************
*** 106,112 ****
  \*----------------------------------------------------------------------*/
  
  #include <stdio.h>
! #include <varargs.h>
  #include "tsl.h"
  
  
--- 106,112 ----
  \*----------------------------------------------------------------------*/
  
  #include <stdio.h>
! #include <stdarg.h>
  #include "tsl.h"
  
  
***************
*** 155,161 ****
  
  
  
! tsl_error( fatal, va_alist )
  /*----------------------------------------------------------------------
  |   NAME:
  |       tsl_error
--- 155,161 ----
  
  
  
! tsl_error( int fatal, ... )
  /*----------------------------------------------------------------------
  |   NAME:
  |       tsl_error
***************
*** 172,184 ****
  |
  \*----------------------------------------------------------------------*/
  
- int fatal;
- va_dcl
  {
      va_list ap;
      char *format;
  
!     va_start(ap);
  
      format = va_arg(ap, char *);
      vfprintf(stderr, format, ap);
--- 172,182 ----
  |
  \*----------------------------------------------------------------------*/
  
  {
      va_list ap;
      char *format;
  
!     va_start(ap, fatal);
  
      format = va_arg(ap, char *);
      vfprintf(stderr, format, ap);