• Russ Cox's avatar
    runtime: remove duplicated Go constants · d2574e2a
    Russ Cox authored
    The C header files are the single point of truth:
    every C enum constant Foo is available to Go as _Foo.
    Remove or redirect duplicate Go declarations so they
    cannot be out of sync.
    
    Eventually we will need to put constants in Go, but for now having
    them be out of sync with C is too risky. These predate the build
    support for auto-generating Go constants from the C definitions.
    
    LGTM=iant
    R=iant
    CC=golang-codereviews
    https://golang.org/cl/141510043
    d2574e2a
os_nacl.go 1.2 KB