Remove unused raczlib constants
diff --git a/cmd/ractool/main.go b/cmd/ractool/main.go
index ae43e6b..20743ba 100644
--- a/cmd/ractool/main.go
+++ b/cmd/ractool/main.go
@@ -287,12 +287,12 @@
}
func encode(r io.Reader) error {
- indexLocation := raczlib.IndexLocation(0)
+ indexLocation := rac.IndexLocation(0)
switch *indexlocationFlag {
case "start":
- indexLocation = raczlib.IndexLocationAtStart
+ indexLocation = rac.IndexLocationAtStart
case "end":
- indexLocation = raczlib.IndexLocationAtEnd
+ indexLocation = rac.IndexLocationAtEnd
default:
return errors.New("invalid -indexlocation")
}
diff --git a/lib/raczlib/raczlib.go b/lib/raczlib/raczlib.go
index d41b8df..8b23a4b 100644
--- a/lib/raczlib/raczlib.go
+++ b/lib/raczlib/raczlib.go
@@ -20,22 +20,3 @@
// The RAC specification is at
// https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md
package raczlib
-
-import (
- "github.com/google/wuffs/lib/rac"
-)
-
-const (
- // MaxSize is the maximum RAC file size (in both CSpace and DSpace).
- MaxSize = rac.MaxSize
-)
-
-// IndexLocation is whether the index is at the start or end of the RAC file.
-//
-// See the RAC specification for further discussion.
-type IndexLocation = rac.IndexLocation
-
-const (
- IndexLocationAtEnd = rac.IndexLocationAtEnd
- IndexLocationAtStart = rac.IndexLocationAtStart
-)