Re: C "debutifier"

pedwards@dmapub.dma.org (Phil Edwards)
11 Dec 2000 02:05:03 -0500

          From comp.compilers

Related articles
C "debutifier" dsl@tepkom.ru (Dmitri Lomov) (2000-12-08)
Re: C "debutifier" pedwards@dmapub.dma.org (2000-12-11)
| List of all articles for this month |
From: pedwards@dmapub.dma.org (Phil Edwards)
Newsgroups: comp.compilers
Date: 11 Dec 2000 02:05:03 -0500
Organization: $home is where the core is
References: 00-12-034
Keywords: C
Posted-Date: 11 Dec 2000 02:05:03 EST

Dmitri Lomov <dsl@tepkom.ru> wrote:
+ Hi All!
+
+ Are there any convertors from ANSI C to K&R C still exist?


"unprotoize" has shipped with GCC for years. That takes care of function
prototypes; I don't recall if it also messes with the function definitions
(changing "foo (int i)" into "foo(i) int i{" or however it's supposed
to be...


Changing void* into char* can probably be done with sed.




Luck++;
Phil


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.