]> Cypherpunks repositories - gostls13.git/commitdiff
libmach: change three more BGET macro invocations back
authorRuss Cox <rsc@golang.org>
Tue, 10 Sep 2013 16:24:43 +0000 (12:24 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 10 Sep 2013 16:24:43 +0000 (12:24 -0400)
Various compilers complain about the macro expansion not
being used. I fixed a few yesterday. More today.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13643044

src/libmach/5obj.c
src/libmach/6obj.c
src/libmach/8obj.c

index 48fc49fd349bbcf0f7cae354f2727d1d739eda35..7fd3459a8ec9df51a9cf1ce32f98003ac5816222 100644 (file)
@@ -127,7 +127,7 @@ addr(Biobuf *bp)
                break;
        case D_REGREG:
        case D_REGREG2:
-               BGETC(bp);
+               Bgetc(bp);
                break;
        case D_CONST2:
                Bgetle4(bp); // fall through
@@ -167,5 +167,5 @@ static void
 skip(Biobuf *bp, int n)
 {
        while (n-- > 0)
-               BGETC(bp);
+               Bgetc(bp);
 }
index 9a7c9ac21d5c1d52a8803ee5f2500c3288cef264..1921c9e4c9803ac97bec79a8b8b4aae4ada523e9 100644 (file)
@@ -169,5 +169,5 @@ static void
 skip(Biobuf *bp, int n)
 {
        while (n-- > 0)
-               BGETC(bp);
+               Bgetc(bp);
 }
index e11a7dfd14e6dee1838b2b6b4a4eb9cd5ec07e92..c44d92c55a59616b8f6526881ff18b9eaae0d93d 100644 (file)
@@ -166,5 +166,5 @@ static void
 skip(Biobuf *bp, int n)
 {
        while (n-- > 0)
-               BGETC(bp);
+               Bgetc(bp);
 }