Branch: Tag:

1998-01-21

1998-01-21 21:34:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Removed deprecated varargs-constructs.

Rev: server/base_server/configuration.pike:1.89
Rev: server/base_server/dummy_hosts.pike:1.3
Rev: server/base_server/hosts.pike:1.21
Rev: server/base_server/html.pike:1.3
Rev: server/base_server/module.pike:1.27
Rev: server/base_server/module_support.pike:1.14
Rev: server/base_server/roxen.pike:1.159
Rev: server/base_server/socket.pike:1.9

1: - string cvs_version = "$Id: configuration.pike,v 1.88 1998/01/08 18:03:23 grubba Exp $"; + string cvs_version = "$Id: configuration.pike,v 1.89 1998/01/21 21:34:17 grubba Exp $";   #include <module.h>   #include <roxen.h>   /* A configuration.. */
73:    m_delete(variables, name);   }    - varargs int defvar(string var, mixed value, string name, int type, -  string doc_str, mixed misc, int|function not_in_config) + int defvar(string var, mixed value, string name, int type, +  string|void doc_str, mixed|void misc, +  int|function|void not_in_config)   {    variables[var] = allocate( VAR_SIZE );    variables[var][ VAR_VALUE ] = value;
262:    for(int i=0; i<10; i++) catch { pri[i]->stop(); };   }    - public varargs string type_from_filename( string file, int to ) + public string type_from_filename( string file, int|void to )   {    mixed tmp;    object current_configuration;