projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5eb2f21
)
__STDC__ may be defined but zero?
author
Paul Mackerras
<paulus@samba.org>
Thu, 27 Nov 1997 06:37:15 +0000
(06:37 +0000)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 27 Nov 1997 06:37:15 +0000
(06:37 +0000)
chat/chat.c
patch
|
blob
|
history
diff --git
a/chat/chat.c
b/chat/chat.c
index 006841359ee0b9a1848c9a296ee36c0514485ae2..1b744a958c8fc6448d6633f0a66bc984032b58e5 100644
(file)
--- a/
chat/chat.c
+++ b/
chat/chat.c
@@
-78,7
+78,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char rcsid[] = "$Id: chat.c,v 1.1
6 1997/11/27 06:00:06
paulus Exp $";
+static char rcsid[] = "$Id: chat.c,v 1.1
7 1997/11/27 06:37:15
paulus Exp $";
#endif
#include <stdio.h>
#endif
#include <stdio.h>
@@
-106,15
+106,6
@@
static char rcsid[] = "$Id: chat.c,v 1.16 1997/11/27 06:00:06 paulus Exp $";
#include <termios.h>
#endif
#include <termios.h>
#endif
-#if __STDC__
-#include <stdarg.h>
-#define __V(x) x
-#else
-#include <varargs.h>
-#define __V(x) (va_alist) va_dcl
-#define const
-#endif
-
#define STR_LEN 1024
#ifndef SIGTYPE
#define STR_LEN 1024
#ifndef SIGTYPE
@@
-470,7
+461,7
@@
void logf __V((const char *fmt, ...))
{
va_list args;
{
va_list args;
-#if __STDC__
+#if
def
__STDC__
va_start(args, fmt);
#else
char *fmt;
va_start(args, fmt);
#else
char *fmt;
@@
-493,7
+484,7
@@
void fatal __V((int code, const char *fmt, ...))
{
va_list args;
{
va_list args;
-#if __STDC__
+#if
def
__STDC__
va_start(args, fmt);
#else
int code;
va_start(args, fmt);
#else
int code;