Xref: utzoo comp.lang.c:8563 comp.sys.ibm.pc:13746 Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!ut-sally!utah-cs!utah-gr!uplherc!sp7040!obie!wsccs!terry From: terry@wsccs.UUCP (terry) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: C declaration styles Message-ID: <370@wsccs.UUCP> Date: 24 Mar 88 04:47:52 GMT References: <5699@watdragon.waterloo.edu> Distribution: na Lines: 22 In article <5699@watdragon.waterloo.edu>, ajmyrvold@violet.waterloo.edu (Alan Myrvold) writes: } I need help porting C programs around. } } When I write my C functions on my personal computer, my declarations } are often like this : } } void foo(int x, double y) } When I want to run my programs on UNIX, my declarations need to be } like this : } } #define void } void foo(x,y) } int x; } double y; Ahhhh, the pitfalls of the emerging ANSI "standard" :-(. The answer is simple, really. Don't use the first method until it IS a standard. terry@wsccs