Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37746111
en ru br
Репозитории ALT
5.1: 1.0.9-alt1
4.1: 1.0.9-alt1
4.0: 1.0.9-ipl31mdk
3.0: 1.0.9-ipl30mdk
www.altlinux.org/Changes

Группа :: Издательство
Пакет: sgml-tools

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: sgml-tools-1.0.9-deprotoize.patch
Скачать


--- sgml-tools-1.0.9/sgmls-1.1/ambig.c.broken	Mon Dec  2 06:16:27 1996
+++ sgml-tools-1.0.9/sgmls-1.1/ambig.c	Thu Jun  1 01:30:59 2000
@@ -76,15 +76,15 @@
      UNCH *last;
 };
 
-static VOID contoken P((int, int, struct contoken *));
-static VOID andgroup P((int, int, struct contoken *));
-static VOID orgroup P((int, int, struct contoken *));
-static VOID seqgroup P((int, int, struct contoken *));
-static VOID andambig P((int));
-static int listambig P((UNCH *));
-static VOID listmerge P((UNCH *, UNCH *));
-static struct contoken *newcontoken P((void));
-static VOID freecontoken P((struct contoken *));
+static VOID contoken (int, int, struct contoken *);
+static VOID andgroup (int, int, struct contoken *);
+static VOID orgroup (int, int, struct contoken *);
+static VOID seqgroup (int, int, struct contoken *);
+static VOID andambig (int);
+static int listambig (UNCH *);
+static VOID listmerge (UNCH *, UNCH *);
+static struct contoken *newcontoken (void);
+static VOID freecontoken (struct contoken *);
 
 
 /* Dynamically allocated vector of follow sets. */
--- sgml-tools-1.0.9/sgmls-1.1/appl.h.broken	Mon Dec  2 06:16:29 1996
+++ sgml-tools-1.0.9/sgmls-1.1/appl.h	Thu Jun  1 01:30:59 2000
@@ -12,17 +12,17 @@
      E_SUBDOC
 };
 
-VOID process_document P((int));
-VOID output_conforming P((void));
+VOID process_document (int);
+VOID output_conforming (void);
 
-UNIV xmalloc P((UNS));
-UNIV xrealloc P((UNIV, UNS));
-VOID appl_error VP((int, ...));
+UNIV xmalloc (UNS);
+UNIV xrealloc (UNIV, UNS);
+VOID appl_error (int, ...);
 
 #ifdef SUPPORT_SUBDOC
-int run_process P((char **));
-char **make_argv P((UNIV));
-VOID get_subcaps P((void));
+int run_process (char **);
+char **make_argv (UNIV);
+VOID get_subcaps (void);
 #endif
 
 #ifdef SUPPORT_SUBDOC
--- sgml-tools-1.0.9/sgmls-1.1/entgen.c.broken	Mon Dec  2 06:16:26 1996
+++ sgml-tools-1.0.9/sgmls-1.1/entgen.c	Thu Jun  1 01:30:59 2000
@@ -47,10 +47,10 @@
 #define MIN_DAT_SUBS_TO "_%"
 #endif
 
-static int field P((struct fpi *, int, char *));
-static int mindatcpy P((char *, char *, int, int));
-static int testopen P((char *));
-static UNIV sysidgen P((char *));
+static int field (struct fpi *, int, char *);
+static int mindatcpy (char *, char *, int, int);
+static int testopen (char *);
+static UNIV sysidgen (char *);
 
 static char *path = 0;
 
--- sgml-tools-1.0.9/sgmls-1.1/entity.h.broken	Mon Dec  2 06:16:28 1996
+++ sgml-tools-1.0.9/sgmls-1.1/entity.h	Thu Jun  1 01:30:59 2000
@@ -162,7 +162,7 @@
      int onlypro;	      /* Parse only the prolog. */
      char **includes;	      /* List of parameter entities to be defined
 			         as "INCLUDE"; NULL terminated.*/
-     VOID (*die) P((void));   /* Function to call on fatal error. */
+     VOID (*die) (void);   /* Function to call on fatal error. */
 };
 struct markup {               /* Delimiter strings for text processor. */
      UNCH *cro;               /* LEXCON markup string: CRO        */
--- sgml-tools-1.0.9/sgmls-1.1/exclude.c.broken	Mon Dec  2 06:16:27 1996
+++ sgml-tools-1.0.9/sgmls-1.1/exclude.c	Thu Jun  1 01:30:59 2000
@@ -6,8 +6,8 @@
 
 #include "sgmlincl.h"
 
-static int excktok P((struct thdr *, int, int *));
-static int exmark P((int));
+static int excktok (struct thdr *, int, int *);
+static int exmark (int);
 
 /* Check that the current exclusions are legal for the content model
 of the current element. */
--- sgml-tools-1.0.9/sgmls-1.1/main.c.broken	Mon Dec  2 06:16:26 1996
+++ sgml-tools-1.0.9/sgmls-1.1/main.c	Thu Jun  1 01:30:59 2000
@@ -29,22 +29,22 @@
 #ifdef HAVE_EXTENDED_PRINTF
 #define xvfprintf vfprintf
 #else
-extern int xvfprintf P((FILE *, char *, va_list));
+extern int xvfprintf (FILE *, char *, va_list);
 #endif
 
-static VOID usage P((void));
-static VOID fatal VP((int, ...));
-static VOID do_error P((int, va_list));
-static VOID swinit P((struct switches *));
-static VOID write_caps P((char *, struct sgmlcap *));
+static VOID usage (void);
+static VOID fatal (int, ...);
+static VOID do_error (int, va_list);
+static VOID swinit (struct switches *);
+static VOID write_caps (char *, struct sgmlcap *);
 
-static UNIV make_docent P((int, char **));
-static char *munge_program_name P((char *, char *));
-static VOID die P((void));
+static UNIV make_docent (int, char **);
+static char *munge_program_name (char *, char *);
+static VOID die (void);
 #ifdef SUPPORT_SUBDOC
-static VOID build_subargv P((struct switches *));
-static VOID cleanup P((void));
-static char *create_subcap_file P((void));
+static VOID build_subargv (struct switches *);
+static VOID cleanup (void);
+static char *create_subcap_file (void);
 #endif /* SUPPORT_SUBDOC */
 
 static char *errlist[] = {
--- sgml-tools-1.0.9/sgmls-1.1/lineout.c.broken	Mon Dec  2 06:16:27 1996
+++ sgml-tools-1.0.9/sgmls-1.1/lineout.c	Thu Jun  1 01:30:59 2000
@@ -12,39 +12,39 @@
 #include "lineout.h"
 #include "appl.h"
 
-static VOID flush_data P((void));
-static VOID define_external_entity P((PNE));
-static VOID define_entity P((UNCH *));
-static VOID handle_attributes P((UNCH *, struct ad *));
-static VOID handle_token_list P((UNCH *, struct ad *, int));
-static VOID handle_single_token P((UNCH *, struct ad *, int));
-static VOID output_notation P((UNCH *, UNCH *, UNCH *));
-static VOID output_internal_entity P((UNCH *, int, UNCH *));
+static VOID flush_data (void);
+static VOID define_external_entity (PNE);
+static VOID define_entity (UNCH *);
+static VOID handle_attributes (UNCH *, struct ad *);
+static VOID handle_token_list (UNCH *, struct ad *, int);
+static VOID handle_single_token (UNCH *, struct ad *, int);
+static VOID output_notation (UNCH *, UNCH *, UNCH *);
+static VOID output_internal_entity (UNCH *, int, UNCH *);
 static VOID output_external_entity P((UNCH *, int, UNIV, UNCH *, UNCH *,
 				      UNCH *));
-static VOID output_subdoc P((UNCH *, UNIV, UNCH *, UNCH *));
+static VOID output_subdoc (UNCH *, UNIV, UNCH *, UNCH *);
 #ifdef SUPPORT_SUBDOC
-static VOID process_subdoc P((UNCH *, UNIV));
+static VOID process_subdoc (UNCH *, UNIV);
 #endif /* SUPPORT_SUBDOC */
-static VOID output_record_end P((void));
-static VOID output_pcdata P((UNS, UNCH *));
-static VOID output_cdata P((UNS, UNCH *));
-static VOID output_sdata P((UNS, UNCH *));
-static VOID output_entity_reference P((UNCH *));
-static VOID output_start_tag P((UNCH *));
-static VOID output_end_tag P((UNCH *));
-static VOID output_processing_instruction P((UNS, UNCH *));
-static VOID output_implied_attribute P((UNCH *, UNCH *));
-static char *attribute_type_string P((int));
-static VOID output_begin_attribute P((UNCH *, UNCH *, int));
-static VOID output_attribute_token P((UNS, UNCH *));
-static VOID output_end_attribute P((void));
-static VOID print_data P((UNS, UNCH *, int));
-static VOID print_string P((UNS, UNCH *, int));
-static VOID print_id P((UNIV, UNCH *, UNCH *));
-static VOID print_filename P((char *));
-static VOID output_location P((void));
-static VOID output_appinfo P((UNS, UNCH *));
+static VOID output_record_end (void);
+static VOID output_pcdata (UNS, UNCH *);
+static VOID output_cdata (UNS, UNCH *);
+static VOID output_sdata (UNS, UNCH *);
+static VOID output_entity_reference (UNCH *);
+static VOID output_start_tag (UNCH *);
+static VOID output_end_tag (UNCH *);
+static VOID output_processing_instruction (UNS, UNCH *);
+static VOID output_implied_attribute (UNCH *, UNCH *);
+static char *attribute_type_string (int);
+static VOID output_begin_attribute (UNCH *, UNCH *, int);
+static VOID output_attribute_token (UNS, UNCH *);
+static VOID output_end_attribute (void);
+static VOID print_data (UNS, UNCH *, int);
+static VOID print_string (UNS, UNCH *, int);
+static VOID print_id (UNIV, UNCH *, UNCH *);
+static VOID print_filename (char *);
+static VOID output_location (void);
+static VOID output_appinfo (UNS, UNCH *);
 
 static int have_data = 0;
 static char *current_filename = 0;
--- sgml-tools-1.0.9/sgmls-1.1/md1.c.broken	Mon Dec  2 06:16:26 1996
+++ sgml-tools-1.0.9/sgmls-1.1/md1.c	Thu Jun  1 01:30:59 2000
@@ -87,7 +87,7 @@
 
      /* EXECUTE: Store the definition for each element name specified.
      */
-     TRACEGRP(nmgrp);
+     TRACEGRnmgrp;
      for (i = 0; nmgrp[i]; i++) {
           if (nmgrp[i]->adl) {     /* Error if an ADL exists. */
                mderr(112, (UNCH *)0, (UNCH *)0);
@@ -785,7 +785,7 @@
                mexgrp = copygrp((PETD *)nnmgrp,
 				u = parsegrp((PETD *)nnmgrp, &pcbgrnm, tbuf));
                ++ds.pmexgcnt; ds.pmexcnt += u-1;
-               TRACEGRP(mexgrp);
+               TRACEGRmexgrp;
                parsemd(tbuf, NAMECASE, &pcblitp, NAMELEN);
           default:
                break;
@@ -798,7 +798,7 @@
                pexgrp = copygrp((PETD *)nnmgrp,
 				u = parsegrp((PETD *)nnmgrp, &pcbgrnm, tbuf));
                ++ds.pmexgcnt; ds.pmexcnt += u-1;
-               TRACEGRP(pexgrp);
+               TRACEGRpexgrp;
                parsemd(tbuf, NAMECASE, &pcblitp, NAMELEN);
           default:
                break;
@@ -812,7 +812,7 @@
 
      /* EXECUTE: Store the definition for each element name specified.
      */
-     TRACEGRP(nmgrp);
+     TRACEGRnmgrp;
      for (i = -1; nmgrp[++i];) {
           etdgi = nmgrp[i]->etdgi;
           if (*ranksuff) {
--- sgml-tools-1.0.9/sgmls-1.1/md2.c.broken	Mon Dec  2 06:16:26 1996
+++ sgml-tools-1.0.9/sgmls-1.1/md2.c	Thu Jun  1 01:30:59 2000
@@ -758,7 +758,7 @@
 
      /* Store the map pointer for each element name specified.
      */
-     TRACEGRP(nmgrp);
+     TRACEGRnmgrp;
      for (i = -1; nmgrp[++i];) {
           if (!nmgrp[i]->etdsrm) nmgrp[i]->etdsrm = srmptr;
           else if (sw.swdupent) mderr(68, nmgrp[i]->etdgi+1, (UNCH *)0);
--- sgml-tools-1.0.9/sgmls-1.1/msgcat.c.broken	Mon Dec  2 06:16:27 1996
+++ sgml-tools-1.0.9/sgmls-1.1/msgcat.c	Thu Jun  1 01:30:59 2000
@@ -97,14 +97,14 @@
 static enum cat_err cat_errno = E_ZERO;
 
 #ifndef GENCAT
-static void load_catalog P((struct cat *));
-static FILE *find_catalog P((char *, char **));
+static void load_catalog (struct cat *);
+static FILE *find_catalog (char *, char **);
 #endif
-static int read_catalog P((FILE *, struct message **));
-static void delete_set P((struct message **, unsigned));
-static void delete_message P((struct message **, unsigned, unsigned));
-static int hash P((unsigned setnum, unsigned msgnum));
-static char *parse_text P((FILE *, int));
+static int read_catalog (FILE *, struct message **);
+static void delete_set (struct message **, unsigned);
+static void delete_message (struct message **, unsigned, unsigned);
+static int hash (unsigned setnum, unsigned msgnum);
+static char *parse_text (FILE *, int);
 
 #ifndef GENCAT
 
@@ -619,14 +619,14 @@
 
 static char *program_name;
 
-static int message_compare P((UNIV, UNIV));
-static void print_text P((char *, FILE *));
-static void usage P((void));
+static int message_compare (UNIV, UNIV);
+static void print_text (char *, FILE *);
+static void usage (void);
 
 #ifdef VARARGS
 static void fatal();
 #else
-static void fatal P((char *,...));
+static void fatal (char *,...);
 #endif
 
 int main(argc, argv)
--- sgml-tools-1.0.9/sgmls-1.1/pars1.c.broken	Mon Dec  2 06:16:26 1996
+++ sgml-tools-1.0.9/sgmls-1.1/pars1.c	Thu Jun  1 01:30:59 2000
@@ -2,11 +2,11 @@
 #define GI (tags[ts].tetd->etdgi+1)              /* GI of current element. */
 #define NEWGI (newetd->etdgi+1)                  /* GI of new tag. */
 
-static VOID doincludes P((void));
-static int pentname P((char *));
-static struct mpos *newmpos P((void));
-static VOID commbufs P((void));
-static VOID checkdtd P((void));
+static VOID doincludes (void);
+static int pentname (char *);
+static struct mpos *newmpos (void);
+static VOID commbufs (void);
+static VOID checkdtd (void);
 
 /* PARSECON: Parse content of an element.
 */
--- sgml-tools-1.0.9/sgmls-1.1/rast.c.broken	Mon Dec  2 06:16:28 1996
+++ sgml-tools-1.0.9/sgmls-1.1/rast.c	Thu Jun  1 01:31:14 2000
@@ -14,11 +14,7 @@
 #define P(parms) ()
 #endif
 
-#ifdef __GNUC__
-#define NO_RETURN volatile
-#else
 #define NO_RETURN /* as nothing */
-#endif
 
 #ifdef VARARGS
 #define VP(parms) ()
@@ -32,30 +28,30 @@
 #define ISASCII(c) (1)
 #endif
 
-NO_RETURN void error VP((char *,...));
+NO_RETURN void error (char *,...);
 
-static void input_error P((int, char *, unsigned long));
-static int do_file P((FILE *));
-static void usage P((void));
+static void input_error (int, char *, unsigned long);
+static int do_file (FILE *);
+static void usage (void);
 
-static void output_processing_instruction P((char *, unsigned));
-static void output_data P((struct sgmls_data *, int));
-static void output_data_lines P((char *, unsigned));
-static void output_internal_sdata P((char *, unsigned));
-static void output_external_entity P((struct sgmls_external_entity *));
-static void output_external_entity_info P((struct sgmls_external_entity *));
-static void output_element_start P((char *, struct sgmls_attribute *));
-static void output_element_end P((char *));
-static void output_attribute P((struct sgmls_attribute *));
-static void output_tokens P((char **, int));
-static void output_markup_chars P((char *, unsigned));
-static void output_markup_string P((char *));
-static void output_char P((int, int));
-static void output_flush P((int));
-static void output_external_id P((char *, char *));
-static void output_entity P((struct sgmls_entity *));
-static void output_external_entity_info P((struct sgmls_external_entity *));
-static void output_internal_entity P((struct sgmls_internal_entity *));
+static void output_processing_instruction (char *, unsigned);
+static void output_data (struct sgmls_data *, int);
+static void output_data_lines (char *, unsigned);
+static void output_internal_sdata (char *, unsigned);
+static void output_external_entity (struct sgmls_external_entity *);
+static void output_external_entity_info (struct sgmls_external_entity *);
+static void output_element_start (char *, struct sgmls_attribute *);
+static void output_element_end (char *);
+static void output_attribute (struct sgmls_attribute *);
+static void output_tokens (char **, int);
+static void output_markup_chars (char *, unsigned);
+static void output_markup_string (char *);
+static void output_char (int, int);
+static void output_flush (int);
+static void output_external_id (char *, char *);
+static void output_entity (struct sgmls_entity *);
+static void output_external_entity_info (struct sgmls_external_entity *);
+static void output_internal_entity (struct sgmls_internal_entity *);
 
 #define output_flush_markup() output_flush('!')
 #define output_flush_data() output_flush('|')
--- sgml-tools-1.0.9/sgmls-1.1/portproc.c.broken	Mon Dec  2 06:16:24 1996
+++ sgml-tools-1.0.9/sgmls-1.1/portproc.c	Thu Jun  1 01:30:59 2000
@@ -26,7 +26,7 @@
 /* Character that can be used to separate arguments to the shell. */
 #define SHELL_ARG_SEP ' '
 
-static UNS shell_quote P((char *, char *));
+static UNS shell_quote (char *, char *);
 
 int run_process(argv)
 char **argv;
--- sgml-tools-1.0.9/sgmls-1.1/replace.c.broken	Mon Dec  2 06:16:27 1996
+++ sgml-tools-1.0.9/sgmls-1.1/replace.c	Thu Jun  1 01:30:59 2000
@@ -32,27 +32,27 @@
 #define ETAGO 3
 #define PLUS 4
 
-static int get P((void));
-static int peek P((void));
-static int get_token P((void));
-static void scan_name P((struct buffer *, int));
+static int get (void);
+static int peek (void);
+static int get_token (void);
+static void scan_name (struct buffer *, int);
 static struct replacement *define_replacement
-  P((struct replacement_table *, enum event_type, char *));
+  (struct replacement_table *, enum event_type, char *);
 static struct replacement_item **parse_string
-  P((struct replacement_item **, int));
-static UNIV xmalloc P((unsigned));
-static UNIV xrealloc P((UNIV, unsigned));
+  (struct replacement_item **, int);
+static UNIV xmalloc (unsigned);
+static UNIV xrealloc (UNIV, unsigned);
 static struct replacement_item **add_replacement_data
-  P((struct replacement_item **, char *, unsigned));
+  (struct replacement_item **, char *, unsigned);
 static struct replacement_item **add_replacement_attr
-  P((struct replacement_item **, char *));
-static int hash P((enum event_type, char *));
-static NO_RETURN void parse_error VP((char *,...));
-static VOID buffer_init P((struct buffer *));
-static VOID buffer_append P((struct buffer *, int));
-static char *buffer_extract P((struct buffer *));
+  (struct replacement_item **, char *);
+static int hash (enum event_type, char *);
+static NO_RETURN void parse_error (char *,...);
+static VOID buffer_init (struct buffer *);
+static VOID buffer_append (struct buffer *, int);
+static char *buffer_extract (struct buffer *);
 #if 0
-static VOID buffer_free P((struct buffer *));
+static VOID buffer_free (struct buffer *);
 #endif
 
 #define buffer_length(buf) ((buf)->len)
--- sgml-tools-1.0.9/sgmls-1.1/replace.h.broken	Mon Dec  2 06:16:29 1996
+++ sgml-tools-1.0.9/sgmls-1.1/replace.h	Thu Jun  1 01:30:59 2000
@@ -28,8 +28,8 @@
 
 enum event_type { START_ELEMENT, END_ELEMENT };
 
-struct replacement_table *make_replacement_table P((void));
-void load_replacement_file P((struct replacement_table *, char *));
+struct replacement_table *make_replacement_table (void);
+void load_replacement_file (struct replacement_table *, char *);
   
 struct replacement *
-lookup_replacement P((struct replacement_table *, enum event_type, char *));
+lookup_replacement (struct replacement_table *, enum event_type, char *);
--- sgml-tools-1.0.9/sgmls-1.1/sgmlio.c.broken	Mon Dec  2 06:16:26 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmlio.c	Thu Jun  1 01:30:59 2000
@@ -44,7 +44,7 @@
 
 #ifdef HAVE_O_NOINHERIT
 #define FOPENR(file) nifopen(file)
-FILE *nifopen P((char *));
+FILE *nifopen (char *);
 #else /* not HAVE_O_NOINHERIT */
 #define FOPENR(file) fopen((file), "r")
 #endif /* not HAVE_O_NOINHERIT */
@@ -69,10 +69,10 @@
 				 by DELNONCH. */
 static int stdinused = 0;
 
-static char *nextstr P((char *)); /* Iterate over list of strings. */
-static FILE *openfile P((char *, char *));
-static int closefile P((FILE *));
-static int isreg P((FILE *));
+static char *nextstr (char *); /* Iterate over list of strings. */
+static FILE *openfile (char *, char *);
+static int closefile (FILE *);
+static int isreg (FILE *);
 
 VOID ioinit(swp)
 struct switches *swp;
--- sgml-tools-1.0.9/sgmls-1.1/sgmlaux.h.broken	Mon Dec  2 06:16:29 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmlaux.h	Thu Jun  1 01:30:59 2000
@@ -42,29 +42,29 @@
      UNIV fcb;
 };
 
-int ioopen P((UNIV, UNIV*));
-VOID ioclose P((UNIV));
-int ioread P((UNIV, UNCH *, int *));
-VOID iopend P((UNIV, int, UNCH *));
-int iocont P((UNIV));
-VOID ioinit P((struct switches *));
-char *ioflid P((UNIV));
+int ioopen (UNIV, UNIV*);
+VOID ioclose (UNIV);
+int ioread (UNIV, UNCH *, int *);
+VOID iopend (UNIV, int, UNCH *);
+int iocont (UNIV);
+VOID ioinit (struct switches *);
+char *ioflid (UNIV);
 
-UNIV entgen P((struct fpi *));
+UNIV entgen (struct fpi *);
 
-VOID msgprint P((struct error *));
-VOID msginit P((struct switches *));
-UNIV msgsave P((struct error *));
-VOID msgsprint P((UNIV));
-VOID msgsfree P((UNIV));
-int msgcnterr P((void));
+VOID msgprint (struct error *);
+VOID msginit (struct switches *);
+UNIV msgsave (struct error *);
+VOID msgsprint (UNIV);
+VOID msgsfree (UNIV);
+int msgcnterr (void);
 
 
-int inprolog P((void));
-UNCH *getgi P((int));
+int inprolog (void);
+UNCH *getgi (int);
 
-int getlocation P((int, struct location *));
-UNIV rmalloc P((unsigned int));
-UNIV rrealloc P((UNIV, UNS));
-VOID frem P((UNIV));
-VOID exiterr P((unsigned int,struct parse *));
+int getlocation (int, struct location *);
+UNIV rmalloc (unsigned int);
+UNIV rrealloc (UNIV, UNS);
+VOID frem (UNIV);
+VOID exiterr (unsigned int,struct parse *);
--- sgml-tools-1.0.9/sgmls-1.1/sgmldecl.c.broken	Mon Dec  2 06:16:27 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmldecl.c	Thu Jun  1 01:30:59 2000
@@ -325,37 +325,37 @@
 
 #define sderr mderr
 
-static UNIV pmaplookup P((struct pmap *, char *));
-static UNCH *ltous P((long));
-static VOID sdfixstandard P((UNCH *));
-static int sdparm P((UNCH *, struct parse *));
-static int sdname P((UNCH *, UNCH *));
-static int sdckname P((UNCH *, UNCH *));
-static int sdversion P((UNCH *));
-static int sdcharset P((UNCH *));
-static int sdcsdesc P((UNCH *, int *));
-static int sdpubcapacity P((UNCH *));
-static int sdcapacity P((UNCH *));
-static int sdscope P((UNCH *));
-static VOID setlexical P((void));
-static VOID noemptytag P((void));
-static int sdpubsyntax P((UNCH *));
-static int sdsyntax P((UNCH *));
-static int sdxsyntax P((UNCH *));
-static int sdtranscharnum P((UNCH *));
-static int sdtranschar P((int));
-static int sdshunchar P((UNCH *));
-static int sdsynref P((UNCH *));
-static int sdfunction P((UNCH *));
-static int sdnaming P((UNCH *));
-static int sddelim P((UNCH *));
-static int sdnames P((UNCH *));
-static int sdquantity P((UNCH *));
-static int sdfeatures P((UNCH *));
-static int sdappinfo P((UNCH *));
+static UNIV pmaplookup (struct pmap *, char *);
+static UNCH *ltous (long);
+static VOID sdfixstandard (UNCH *);
+static int sdparm (UNCH *, struct parse *);
+static int sdname (UNCH *, UNCH *);
+static int sdckname (UNCH *, UNCH *);
+static int sdversion (UNCH *);
+static int sdcharset (UNCH *);
+static int sdcsdesc (UNCH *, int *);
+static int sdpubcapacity (UNCH *);
+static int sdcapacity (UNCH *);
+static int sdscope (UNCH *);
+static VOID setlexical (void);
+static VOID noemptytag (void);
+static int sdpubsyntax (UNCH *);
+static int sdsyntax (UNCH *);
+static int sdxsyntax (UNCH *);
+static int sdtranscharnum (UNCH *);
+static int sdtranschar (int);
+static int sdshunchar (UNCH *);
+static int sdsynref (UNCH *);
+static int sdfunction (UNCH *);
+static int sdnaming (UNCH *);
+static int sddelim (UNCH *);
+static int sdnames (UNCH *);
+static int sdquantity (UNCH *);
+static int sdfeatures (UNCH *);
+static int sdappinfo (UNCH *);
 
-static VOID bufsalloc P((void));
-static VOID bufsrealloc P((void));
+static VOID bufsalloc (void);
+static VOID bufsrealloc (void);
 
 /* Parse the SGML declaration. Return non-zero if there was some appinfo. */
 
--- sgml-tools-1.0.9/sgmls-1.1/sgmlfnsm.h.broken	Mon Dec  2 06:16:29 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmlfnsm.h	Thu Jun  1 01:30:59 2000
@@ -1,129 +1,129 @@
 /* SGMLFNSM.H: SGML function declarations (ANSI prototypes). */
-VOID           adlfree P((struct ad *, int));
-VOID           adlval P((int,struct etd *));
-VOID           aenttst P((int, UNCH *));
-int            allhit P((struct thdr *,unsigned long *,int,int));
-VOID	       ambig P((void));
-VOID	       ambigfree P((void));
-int            amemget P((struct ad *,int,UNCH *));
-int            anmget P((int,UNCH *));
-int            anmtgrp P((struct parse *,struct ad *,int,UNS *,int));
-int            antvget P((int,UNCH *,UNCH **));
-int	       anyhit P((unsigned long *));
-int            attval P((int,UNCH *,int,struct ad *));
-VOID           charrefa P((UNCH *));
-int            charrefn P((UNCH *, struct parse *));
-int            context P((struct etd *,struct thdr *,struct mpos *,UNCH *,int));
-struct etd   **copygrp P((struct etd **,unsigned int));
-int            datachar P((int, struct parse *));
-struct dcncb  *dcnfind P((UNCH *));
-VOID           destack P((void));
-int            econtext P((struct thdr *,struct mpos *,UNCH *));
-VOID	       endprolog P((void));
-struct entity *entfind P((UNCH *));
-int            entopen P((struct entity *));
-/* VOID           eposset P((void));        NOT YET IN USE. */
-VOID           error P((struct error *));
-VOID           errorinit P((struct error *, unsigned, unsigned));
-int            etag P((void));
-int            etagetd P((struct parse *));
-VOID           etdadl P((struct etd *));
-VOID           etdcan P((UNCH *));
-struct etd    *etddef P((UNCH *));
-struct etd    *etdref P((UNCH *));
-VOID	       exclude P((void));
-VOID           fileclos P((void));
-VOID           filecont P((void));
-VOID           fileopen P((void));
-VOID           filepend P((int));
-VOID           fileread P((void));
-VOID           filerr P((unsigned, UNCH *));
-VOID	       fixdatt P((struct dcncb *));
-struct parse  *getpcb P((int));
-int            groupopt P((struct thdr *,struct mpos *));
-int            groupreq P((struct etd *,struct thdr *,struct mpos *));
-int            grpsz P((struct thdr *,int));
-int            hash P((UNCH *,int));
-struct hash   *hfind P((struct hash **,UNCH *,int));
-struct hash   *hin P((struct hash **,UNCH *,int,unsigned int));
-int            iddef P((UNCH *));
-VOID           idrck P((void));
-struct fwdref *idref P((UNCH *));
-VOID           idreftst P((int,UNCH *));
-int            ingrp P((struct etd **,struct etd *));
-VOID	       initatt P((struct ad *));
-int            mapsrch P((struct map *,UNCH *));
-VOID           mdadl P((UNCH *));
-int            mdattdef P((int, int));
-VOID           mddtde P((UNCH *));
-VOID           mddtds P((UNCH *));
-VOID           mdelem P((UNCH *));
-VOID           mdentity P((UNCH *));
-VOID           mderr P((unsigned int,UNCH *,UNCH *));
-struct parse  *mdms P((UNCH *,struct parse *));
-int            mdmse P((void));
-VOID           mdnadl P((UNCH *));
-VOID           mdnot P((UNCH *));
-VOID           mdsrmdef P((UNCH *));
-VOID           mdsrmuse P((UNCH *));
-int            netetd P((struct parse *));
-VOID           newtoken P((struct thdr *,struct mpos *,UNCH *));
-int            nstetd P((void));
-UNCH          *ntoa P((int));
-int            offbit P((unsigned long *,int,int));
-int            parsecon P((UNCH *,struct parse *));
-int            parsefpi P((struct fpi *));
-struct thdr   *parsegcm P((struct parse *,struct thdr *,struct thdr *));
-VOID           parselit P((UNCH *,struct parse *,unsigned int,UNCH));
-struct thdr   *parsemod P((int));
-int            parsepro P((void));
-VOID           parseseq P((UNCH *,int));
-VOID           parsetag P((struct parse *));
-int            parseval P((UNCH *,unsigned int,UNCH *));
-int            pexmex P((struct etd *));
-unsigned int   ptrsrch P((UNIV *,UNIV));
-UNCH          *pubfield P((UNCH *,UNCH *,UNCH,UNS *));
-UNCH          *replace P((UNCH *,UNCH *));
-UNCH          *sandwich P((UNCH *,UNCH *,UNCH *));
-UNIV           saverr P((unsigned int,struct parse *,UNCH *,UNCH *));
-VOID           scbset P((void));
-VOID	       sdinit P((void));
-VOID           setcurchar P((int));
-VOID           setdtype P((void));
-int            sgmlact P((UNCH));
-int            sgmldecl P((void));
-VOID           sgmlerr P((unsigned int,struct parse *,UNCH *,UNCH *));
-int            shortref P((int,struct parse *));
-struct srh    *srhfind P((UNCH *));
-VOID           stack P((struct etd *));
-int            stag P((int));
-int            stagetd P((struct parse *));
-VOID           startdtd P((void));
-UNCH          *savenm P((UNCH *));
-UNCH          *savestr P((UNCH *));
-VOID	       storedatt P((PNE));
-VOID           svderr P((UNIV));
-VOID           synerr P((unsigned int,struct parse *));
-int            testend P((struct thdr *,struct mpos *,int,int));
-int            tokenopt P((struct thdr *,struct mpos *));
-int            tokenreq P((struct etd *,struct thdr *,struct mpos *));
-UNS            vallen P((int,int,UNCH *));
-struct dcncb  *dcndef P((UNCH *));
-struct entity *entdef P((UNCH *,UNCH,union etext *));
-int            entget P((void));
-int            entref P((UNCH *));
+VOID           adlfree (struct ad *, int);
+VOID           adlval (int,struct etd *);
+VOID           aenttst (int, UNCH *);
+int            allhit (struct thdr *,unsigned long *,int,int);
+VOID	       ambig (void);
+VOID	       ambigfree (void);
+int            amemget (struct ad *,int,UNCH *);
+int            anmget (int,UNCH *);
+int            anmtgrp (struct parse *,struct ad *,int,UNS *,int);
+int            antvget (int,UNCH *,UNCH **);
+int	       anyhit (unsigned long *);
+int            attval (int,UNCH *,int,struct ad *);
+VOID           charrefa (UNCH *);
+int            charrefn (UNCH *, struct parse *);
+int            context (struct etd *,struct thdr *,struct mpos *,UNCH *,int);
+struct etd   **copygrp (struct etd **,unsigned int);
+int            datachar (int, struct parse *);
+struct dcncb  *dcnfind (UNCH *);
+VOID           destack (void);
+int            econtext (struct thdr *,struct mpos *,UNCH *);
+VOID	       endprolog (void);
+struct entity *entfind (UNCH *);
+int            entopen (struct entity *);
+/* VOID           eposset (void);        NOT YET IN USE. */
+VOID           error (struct error *);
+VOID           errorinit (struct error *, unsigned, unsigned);
+int            etag (void);
+int            etagetd (struct parse *);
+VOID           etdadl (struct etd *);
+VOID           etdcan (UNCH *);
+struct etd    *etddef (UNCH *);
+struct etd    *etdref (UNCH *);
+VOID	       exclude (void);
+VOID           fileclos (void);
+VOID           filecont (void);
+VOID           fileopen (void);
+VOID           filepend (int);
+VOID           fileread (void);
+VOID           filerr (unsigned, UNCH *);
+VOID	       fixdatt (struct dcncb *);
+struct parse  *getpcb (int);
+int            groupopt (struct thdr *,struct mpos *);
+int            groupreq (struct etd *,struct thdr *,struct mpos *);
+int            grpsz (struct thdr *,int);
+int            hash (UNCH *,int);
+struct hash   *hfind (struct hash **,UNCH *,int);
+struct hash   *hin (struct hash **,UNCH *,int,unsigned int);
+int            iddef (UNCH *);
+VOID           idrck (void);
+struct fwdref *idref (UNCH *);
+VOID           idreftst (int,UNCH *);
+int            ingrp (struct etd **,struct etd *);
+VOID	       initatt (struct ad *);
+int            mapsrch (struct map *,UNCH *);
+VOID           mdadl (UNCH *);
+int            mdattdef (int, int);
+VOID           mddtde (UNCH *);
+VOID           mddtds (UNCH *);
+VOID           mdelem (UNCH *);
+VOID           mdentity (UNCH *);
+VOID           mderr (unsigned int,UNCH *,UNCH *);
+struct parse  *mdms (UNCH *,struct parse *);
+int            mdmse (void);
+VOID           mdnadl (UNCH *);
+VOID           mdnot (UNCH *);
+VOID           mdsrmdef (UNCH *);
+VOID           mdsrmuse (UNCH *);
+int            netetd (struct parse *);
+VOID           newtoken (struct thdr *,struct mpos *,UNCH *);
+int            nstetd (void);
+UNCH          *ntoa (int);
+int            offbit (unsigned long *,int,int);
+int            parsecon (UNCH *,struct parse *);
+int            parsefpi (struct fpi *);
+struct thdr   *parsegcm (struct parse *,struct thdr *,struct thdr *);
+VOID           parselit (UNCH *,struct parse *,unsigned int,UNCH);
+struct thdr   *parsemod (int);
+int            parsepro (void);
+VOID           parseseq (UNCH *,int);
+VOID           parsetag (struct parse *);
+int            parseval (UNCH *,unsigned int,UNCH *);
+int            pexmex (struct etd *);
+unsigned int   ptrsrch (UNIV *,UNIV);
+UNCH          *pubfield (UNCH *,UNCH *,UNCH,UNS *);
+UNCH          *replace (UNCH *,UNCH *);
+UNCH          *sandwich (UNCH *,UNCH *,UNCH *);
+UNIV           saverr (unsigned int,struct parse *,UNCH *,UNCH *);
+VOID           scbset (void);
+VOID	       sdinit (void);
+VOID           setcurchar (int);
+VOID           setdtype (void);
+int            sgmlact (UNCH);
+int            sgmldecl (void);
+VOID           sgmlerr (unsigned int,struct parse *,UNCH *,UNCH *);
+int            shortref (int,struct parse *);
+struct srh    *srhfind (UNCH *);
+VOID           stack (struct etd *);
+int            stag (int);
+int            stagetd (struct parse *);
+VOID           startdtd (void);
+UNCH          *savenm (UNCH *);
+UNCH          *savestr (UNCH *);
+VOID	       storedatt (PNE);
+VOID           svderr (UNIV);
+VOID           synerr (unsigned int,struct parse *);
+int            testend (struct thdr *,struct mpos *,int,int);
+int            tokenopt (struct thdr *,struct mpos *);
+int            tokenreq (struct etd *,struct thdr *,struct mpos *);
+UNS            vallen (int,int,UNCH *);
+struct dcncb  *dcndef (UNCH *);
+struct entity *entdef (UNCH *,UNCH,union etext *);
+int            entget (void);
+int            entref (UNCH *);
 struct etd    *etdset P((struct etd *,UNCH,struct thdr *,struct etd **,
 		      struct etd **, struct entity **));
-struct hash   *hout P((struct hash **,UNCH *,int));
-struct fpi    *mdextid P((UNCH *,struct fpi *,UNCH *,UNCH *,struct ne *));
-int            parse P((struct parse *));
-struct ad     *parseatt P((struct ad *,UNCH *));
-unsigned int   parsegrp P((struct etd **,struct parse *, UNCH *));
-unsigned int   parsngrp P((struct dcncb **,struct parse *, UNCH *));
-int            parsemd P((UNCH *,int,struct parse *,unsigned int));
-UNCH          *parsenm P((UNCH *,int));
-UNCH          *parsetkn P((UNCH *,UNCH,int));
-UNCH          *s2valnm P((UNCH *,UNCH *,UNCH,int));
-struct srh    *srhdef P((UNCH *));
-int	       tokdata P((UNCH *, int));
-struct entity *usedef P((UNCH *));
+struct hash   *hout (struct hash **,UNCH *,int);
+struct fpi    *mdextid (UNCH *,struct fpi *,UNCH *,UNCH *,struct ne *);
+int            parse (struct parse *);
+struct ad     *parseatt (struct ad *,UNCH *);
+unsigned int   parsegrp (struct etd **,struct parse *, UNCH *);
+unsigned int   parsngrp (struct dcncb **,struct parse *, UNCH *);
+int            parsemd (UNCH *,int,struct parse *,unsigned int);
+UNCH          *parsenm (UNCH *,int);
+UNCH          *parsetkn (UNCH *,UNCH,int);
+UNCH          *s2valnm (UNCH *,UNCH *,UNCH,int);
+struct srh    *srhdef (UNCH *);
+int	       tokdata (UNCH *, int);
+struct entity *usedef (UNCH *);
--- sgml-tools-1.0.9/sgmls-1.1/sgmls.c.broken	Mon Dec  2 06:16:27 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmls.c	Thu Jun  1 01:31:22 2000
@@ -8,11 +8,7 @@
 #include "sgmls.h"
 #include "lineout.h"
 
-#ifdef __GNUC__
-#define NO_RETURN volatile
-#else
 #define NO_RETURN /* as nothing */
-#endif
 
 #ifdef USE_PROTOTYPES
 #define P(parms) parms
@@ -112,36 +108,36 @@
   "Input line too long"
 };
 
-static void NO_RETURN error P((enum error_code));
-static int parse_data P((char *, unsigned long *));
-static void parse_location P((char *, struct sgmls *));
-static void parse_notation P((char *, notation_s *));
-static void parse_internal_entity P((char *, internal_entity_s *));
+static void NO_RETURN error (enum error_code);
+static int parse_data (char *, unsigned long *);
+static void parse_location (char *, struct sgmls *);
+static void parse_notation (char *, notation_s *);
+static void parse_internal_entity (char *, internal_entity_s *);
 static void parse_external_entity
-  P((char *, struct sgmls *, external_entity_s *));
-static void parse_subdoc_entity P((char *, external_entity_s *));
-static attribute_s *parse_attribute P((struct sgmls *, char *));
-static void grow_datav P((void));
-static char *unescape P((char *));
-static char *unescape_file P((char *));
-static int unescape1 P((char *));
-static char *scan_token P((char **));
-static int count_args P((char *));
-static struct list *list_find P((struct list *, char *, int));
-static UNIV xmalloc P((unsigned));
-static UNIV xrealloc P((UNIV , unsigned));
-static char *strsave P((char *));
-static int read_line P((struct sgmls *));
-static notation_s *lookup_notation P((struct sgmls *, char *));
-static entity_s *lookup_entity P((struct sgmls *, char *));
-static external_entity_s *lookup_external_entity P((struct sgmls *, char *));
-static void define_external_entity P((struct sgmls *, external_entity_s *));
-static void define_internal_entity P((struct sgmls *, internal_entity_s *));
-static void define_notation P((struct sgmls *, notation_s *));
-static data_s *copy_data P((data_s *, int));
-static void list_finish_level P((struct list **, int));
-static void add_attribute P((attribute_s **, attribute_s *));
-static void default_errhandler P((int, char *, unsigned long));
+  (char *, struct sgmls *, external_entity_s *);
+static void parse_subdoc_entity (char *, external_entity_s *);
+static attribute_s *parse_attribute (struct sgmls *, char *);
+static void grow_datav (void);
+static char *unescape (char *);
+static char *unescape_file (char *);
+static int unescape1 (char *);
+static char *scan_token (char **);
+static int count_args (char *);
+static struct list *list_find (struct list *, char *, int);
+static UNIV xmalloc (unsigned);
+static UNIV xrealloc (UNIV , unsigned);
+static char *strsave (char *);
+static int read_line (struct sgmls *);
+static notation_s *lookup_notation (struct sgmls *, char *);
+static entity_s *lookup_entity (struct sgmls *, char *);
+static external_entity_s *lookup_external_entity (struct sgmls *, char *);
+static void define_external_entity (struct sgmls *, external_entity_s *);
+static void define_internal_entity (struct sgmls *, internal_entity_s *);
+static void define_notation (struct sgmls *, notation_s *);
+static data_s *copy_data (data_s *, int);
+static void list_finish_level (struct list **, int);
+static void add_attribute (attribute_s **, attribute_s *);
+static void default_errhandler (int, char *, unsigned long);
 
 #define xfree(s) do { if (s) free(s); } while (0)
 
--- sgml-tools-1.0.9/sgmls-1.1/sgmlmain.h.broken	Mon Dec  2 06:16:29 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmlmain.h	Thu Jun  1 01:30:59 2000
@@ -80,22 +80,22 @@
 letters. */
 
 /* Initialize. */
-struct markup *sgmlset P((struct switches *));
+struct markup *sgmlset (struct switches *);
 /* Cleanup and return capacity usage statistics. */
-VOID sgmlend P((struct sgmlcap *));
+VOID sgmlend (struct sgmlcap *);
 /* Set document entity. */
-int sgmlsdoc P((UNIV));
+int sgmlsdoc (UNIV);
 /* Get entity. */
-int sgmlgent P((UNCH *, PNE *, UNCH **));
+int sgmlgent (UNCH *, PNE *, UNCH **);
 /* Mark an entity.  Return is non-zero if already marked.*/
-int sgmlment P((UNCH *));
+int sgmlment (UNCH *);
 /* Get the next sgml event. */
-enum sgmlevent sgmlnext P((struct rcbdata *, struct rcbtag *));
+enum sgmlevent sgmlnext (struct rcbdata *, struct rcbtag *);
 /* Get the error count. */
-int sgmlgcnterr P((void));
+int sgmlgcnterr (void);
 /* Get the current location. */
-int sgmlloc P((unsigned long *, char **));
+int sgmlloc (unsigned long *, char **);
 /* Write out the SGML declaration. */
-VOID sgmlwrsd P((FILE *));
+VOID sgmlwrsd (FILE *);
 /* Note subdocument capacity usage. */
-VOID sgmlsubcap P((long *));
+VOID sgmlsubcap (long *);
--- sgml-tools-1.0.9/sgmls-1.1/sgmlmsg.c.broken	Mon Dec  2 06:16:26 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmlmsg.c	Thu Jun  1 01:30:59 2000
@@ -17,18 +17,18 @@
 #ifdef HAVE_EXTENDED_PRINTF
 #define xfprintf fprintf
 #else
-extern int xfprintf VP((FILE *, char *,...));
+extern int xfprintf (FILE *, char *,...);
 #endif
 
 #define SIZEOF(v) (sizeof(v)/sizeof(v[0]))
 
-static char *gettext P((int));
-static char *getheader P((int));
-static char *getparm P((int));
-static VOID elttrace P((FILE *, int));
-static int printit P((FILE *, struct error *));
-static char *transparm P((UNCH *, char *));
-static VOID spaces P((FILE *, int));
+static char *gettext (int);
+static char *getheader (int);
+static char *getparm (int);
+static VOID elttrace (FILE *, int);
+static int printit (FILE *, struct error *);
+static char *transparm (UNCH *, char *);
+static VOID spaces (FILE *, int);
 
 #define PARMBUFSIZ 50
 static char parmbuf[PARMBUFSIZ*2];
@@ -39,7 +39,7 @@
 static int sweltr;		/* non-zero means print an element trace */
 static int swenttr;		/* non-zero means print an entity trace */
 static int cnterr = 0;
-static VOID (*die) P((void));
+static VOID (*die) (void);
 
 static char *headers[] = {
 "In file included",
--- sgml-tools-1.0.9/sgmls-1.1/sgmlsasp.c.broken	Mon Dec  2 06:16:27 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmlsasp.c	Thu Jun  1 01:30:59 2000
@@ -14,17 +14,17 @@
 static char *program_name;
 static char last_char = '\n';
 
-static void output_begin_line P((void));
-static void output_data P((struct sgmls_data *, int));
-static void output_pi P((char *, unsigned));
-static void output_token P((char *));
-static void output_attribute P((struct sgmls_attribute *));
-static void output_data_char P((int));
+static void output_begin_line (void);
+static void output_data (struct sgmls_data *, int);
+static void output_pi (char *, unsigned);
+static void output_token (char *);
+static void output_attribute (struct sgmls_attribute *);
+static void output_data_char (int);
 static void output_replacement
-  P((struct replacement *, struct sgmls_attribute *));
-static void do_file P((FILE *, struct replacement_table *));
-static void usage P((void));
-static void input_error P((int, char *, unsigned long));
+  (struct replacement *, struct sgmls_attribute *);
+static void do_file (FILE *, struct replacement_table *);
+static void usage (void);
+static void input_error (int, char *, unsigned long);
 
 #define output_char(c) (last_char = (c), putchar(c))
 
--- sgml-tools-1.0.9/sgmls-1.1/sgmlsasp.h.broken	Mon Dec  2 06:16:29 1996
+++ sgml-tools-1.0.9/sgmls-1.1/sgmlsasp.h	Thu Jun  1 01:31:28 2000
@@ -9,11 +9,7 @@
 #define P(parms) ()
 #endif
 
-#ifdef __GNUC__
-#define NO_RETURN volatile
-#else
 #define NO_RETURN /* as nothing */
-#endif
 
 #ifdef VARARGS
 #define VP(parms) ()
@@ -21,6 +17,6 @@
 #define VP(parms) P(parms)
 #endif
 
-NO_RETURN void error VP((char *,...));
+NO_RETURN void error (char *,...);
 
 extern int fold_general_names;
--- sgml-tools-1.0.9/sgmls-1.1/trace.h.broken	Mon Dec  2 06:16:29 1996
+++ sgml-tools-1.0.9/sgmls-1.1/trace.h	Thu Jun  1 01:30:59 2000
@@ -15,31 +15,31 @@
 extern int ntrace;            /* Switch: 1=trace data notation activity. */
 extern char emd[];            /* For "EMD" parameter type in dtrace calls. */
 
-VOID traceadl P((struct ad *));
-VOID tracecon P((int,int,int,struct parse *,int,int));
-VOID tracedcn P((struct dcncb *));
-VOID tracedsk P((struct tag *,struct tag *,int,int));
-VOID traceecb P((char *,struct entity *));
-VOID traceend P((char *,struct thdr *,struct mpos *,int,int,int));
-VOID traceesn P((struct ne *));
-VOID traceetd P((struct etd *));
-VOID traceetg P((struct tag *,struct etd *,int,int));
-VOID tracegi P((char *,struct etd *,struct thdr *,struct mpos *,int));
-VOID tracegml P((struct restate *,int,int,int));
-VOID tracegrp P((struct etd **));
-VOID traceid P((char *,struct id *));
-VOID tracemd P((char *));
-VOID tracemod P((struct thdr *));
-VOID tracems P((int,int,int,int));
-VOID tracengr P((struct dcncb **));
-VOID tracepcb P((struct parse *));
-VOID tracepro P((void));
-VOID traceset P((void));
-VOID tracesrm P((char *,struct entity **,UNCH *));
-VOID tracestg P((struct etd *,int,int,struct etd *,int));
-VOID tracestk P((struct tag *,int,int));
-VOID tracetkn P((int,UNCH *));
-VOID traceval P((struct parse *,unsigned int,UNCH *,int));
+VOID traceadl (struct ad *);
+VOID tracecon (int,int,int,struct parse *,int,int);
+VOID tracedcn (struct dcncb *);
+VOID tracedsk (struct tag *,struct tag *,int,int);
+VOID traceecb (char *,struct entity *);
+VOID traceend (char *,struct thdr *,struct mpos *,int,int,int);
+VOID traceesn (struct ne *);
+VOID traceetd (struct etd *);
+VOID traceetg (struct tag *,struct etd *,int,int);
+VOID tracegi (char *,struct etd *,struct thdr *,struct mpos *,int);
+VOID tracegml (struct restate *,int,int,int);
+VOID tracegrp (struct etd **);
+VOID traceid (char *,struct id *);
+VOID tracemd (char *);
+VOID tracemod (struct thdr *);
+VOID tracems (int,int,int,int);
+VOID tracengr (struct dcncb **);
+VOID tracepcb (struct parse *);
+VOID tracepro (void);
+VOID traceset (void);
+VOID tracesrm (char *,struct entity **,UNCH *);
+VOID tracestg (struct etd *,int,int,struct etd *,int);
+VOID tracestk (struct tag *,int,int);
+VOID tracetkn (int,UNCH *);
+VOID traceval (struct parse *,unsigned int,UNCH *,int);
 
 #define TRACEADL(al) ((void)(atrace && (traceadl(al), 1)))
 #define TRACECON(etagimct, dostag, datarc, pcb, conrefsw, didreq) \
--- sgml-tools-1.0.9/sgmls-1.1/xfprintf.c.broken	Mon Dec  2 06:16:26 1996
+++ sgml-tools-1.0.9/sgmls-1.1/xfprintf.c	Thu Jun  1 01:30:59 2000
@@ -91,13 +91,13 @@
 
 #define FLAG_CHARS "-+ #0"
 
-static int parse_spec P((const char **, struct spec *));
-static int find_arg_types P((const char *, enum arg_type *));
-static void get_arg P((enum arg_type, va_list *, union arg *));
-static int do_arg P((UNIV, printer, const char *, enum arg_type, union arg *));
-static int xdoprt P((UNIV, printer, const char *, va_list));
-static int printit P((UNIV, printer, const char *, va_list, int, union arg *));
-static int maybe_positional P((const char *));
+static int parse_spec (const char **, struct spec *);
+static int find_arg_types (const char *, enum arg_type *);
+static void get_arg (enum arg_type, va_list *, union arg *);
+static int do_arg (UNIV, printer, const char *, enum arg_type, union arg *);
+static int xdoprt (UNIV, printer, const char *, va_list);
+static int printit (UNIV, printer, const char *, va_list, int, union arg *);
+static int maybe_positional (const char *);
 
 /* Return 1 if sucessful, 0 otherwise. **pp points to character after % */
 
--- sgml-tools-1.0.9/sgmls-1.1/unix.cfg.broken	Mon Dec  2 06:16:24 1996
+++ sgml-tools-1.0.9/sgmls-1.1/unix.cfg	Thu Jun  1 01:30:59 2000
@@ -118,14 +118,6 @@
 /* Define this if you don't have fsetpos() and fgetpos(). */
 #define FPOS_MISSING 1
 
-/* Universal pointer type. */
-/* If your compiler doesn't fully support void *, change `void' to `char'. */
-typedef void *UNIV;
-
-/* If your compiler doesn't support void as a function return type,
-change `void' to `int'. */
-typedef void VOID;
-
 /* If you don't have an ANSI C conformant <limits.h>, define
 CHAR_SIGNED as 1 or 0 according to whether the `char' type is signed.
 The <limits.h> on some versions of System Release V 3.2 is not ANSI C
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin