head	1.2;
access;
symbols
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2003.09.24.15.03.39;	author krion;	state dead;
branches;
next	1.1;

1.1
date	2003.08.07.17.26.45;	author oliver;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Update to version 3.99.4

PR:		57094
Submitted by:	Ports Fury
@
text
@--- src/terminate.c.orig	Thu Aug  7 18:57:35 2003
+++ src/terminate.c	Thu Aug  7 19:09:22 2003
@@@@ -1,7 +1,7 @@@@
 /* Termination functions, weak pointers.
  */
 
-#include <varargs.h>
+#include <stdarg.h>
 
 #include "kernel.h"
 
@@@@ -50,17 +50,11 @@@@
  * Null is returned when the object has not been found.
  */
 /*VARARGS*/
-Object Find_Object (va_alist) va_dcl {
+Object Find_Object (int type, GENERIC group, MATCHFUN match, ...) {
     WEAK_NODE *p;
-    int type;
-    GENERIC group;
-    MATCHFUN match;
     va_list args;
 
-    va_start (args);
-    type = va_arg (args, int);
-    group = va_arg (args, GENERIC);
-    match = va_arg (args, MATCHFUN);
+    va_start (args, match);
     for (p = first; p; p = p->next) {
 	if (TYPE(p->obj) != type || p->group != group)
 	    continue;
@


1.1
log
@fix build on CURRENT
 - s|varargs.h|stdarg.h|
 - s|void va_start(va_list ap);|void va_start(va_list ap, last);|g
@
text
@@

