diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-02 00:15:42 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-02 00:15:42 +0000 |
commit | 5af76dad2763a02c5118268fe7f92a9e916e5036 (patch) | |
tree | 9877ea1c16d720ab5185440fa2e2220984e0573e | |
parent | 439b7d590dab65394cea4f1563b9f0d8c832efba (diff) | |
download | gcc-5af76dad2763a02c5118268fe7f92a9e916e5036.tar.gz |
* README.Portability: Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55164 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/README.Portability | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ed5e361adea..7cd464157c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-07-02 Alan Modra <amodra@bigpond.net.au> + + * README.Portability: Fix typos. + 2002-07-01 Hans-Peter Nilsson <hp@axis.com> PR target/7177 diff --git a/gcc/README.Portability b/gcc/README.Portability index dba12406c61..04638b2a00c 100644 --- a/gcc/README.Portability +++ b/gcc/README.Portability @@ -123,8 +123,8 @@ int myfunc PARAMS ((double, int *)); int myfunc (var1, var2) - double var1; - int *var2; + double var1; + int *var2; { ... } @@ -132,7 +132,7 @@ myfunc (var1, var2) This implies that if the function takes no arguments, it should be declared and defined as follows: -int myfunc PARAMS ((void)) +int myfunc PARAMS ((void)); int myfunc () @@ -300,8 +300,8 @@ long and int are not the same size. Second, if you write a function definition with no return type at all: - operate(a, b) - int a, b; + operate (a, b) + int a, b; { ... } @@ -314,8 +314,8 @@ Implicit function declarations always have return type int. So if you correct the above definition to void - operate(a, b) - int a, b; + operate (a, b) + int a, b; ... but operate() is called above its definition, you will get an error |