emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/term.c


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/src/term.c
Date: Sun, 02 Oct 2005 14:35:10 -0400

Index: emacs/src/term.c
diff -c emacs/src/term.c:1.168 emacs/src/term.c:1.169
*** emacs/src/term.c:1.168      Fri Sep 30 22:38:14 2005
--- emacs/src/term.c    Sun Oct  2 18:35:04 2005
***************
*** 25,31 ****
  #include <stdio.h>
  #include <ctype.h>
  #include <string.h>
- #include <stdarg.h>
  
  #include "termchar.h"
  #include "termopts.h"
--- 25,30 ----
***************
*** 2690,2702 ****
  
  /* VARARGS 1 */
  void
! fatal (const char *str, ...)
  {
-   va_list ap;
-   va_start (ap, str);
    fprintf (stderr, "emacs: ");
!   vfprintf (stderr, str, ap);
!   va_end (ap);
    fflush (stderr);
    exit (1);
  }
--- 2689,2700 ----
  
  /* VARARGS 1 */
  void
! fatal (str, arg1, arg2)
!      char *str, *arg1, *arg2;
  {
    fprintf (stderr, "emacs: ");
!   fprintf (stderr, str, arg1, arg2);
!   fprintf (stderr, "\n");
    fflush (stderr);
    exit (1);
  }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]