aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_gen.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-02-06 10:49:53 +0200
committerBjörn Gustavsson <[email protected]>2010-02-16 13:24:54 +0100
commit37b274dea9e570fbb511fb42ab0be5ab28026eb4 (patch)
tree040e7aa381a658884e5dfeb0045c4580d2416737 /lib/asn1/src/asn1ct_gen.erl
parentc40e8d098f78cbf1a144823b6cf8989b27702f50 (diff)
downloadotp-37b274dea9e570fbb511fb42ab0be5ab28026eb4.tar.gz
otp-37b274dea9e570fbb511fb42ab0be5ab28026eb4.tar.bz2
otp-37b274dea9e570fbb511fb42ab0be5ab28026eb4.zip
asn1: Clean up as suggested by tidier
Diffstat (limited to 'lib/asn1/src/asn1ct_gen.erl')
-rw-r--r--lib/asn1/src/asn1ct_gen.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl
index fefb92bb34..53d3002459 100644
--- a/lib/asn1/src/asn1ct_gen.erl
+++ b/lib/asn1/src/asn1ct_gen.erl
@@ -20,7 +20,7 @@
-module(asn1ct_gen).
-include("asn1_records.hrl").
-%%-compile(export_all).
+
-export([pgen_exports/3,
pgen_hrl/4,
gen_head/3,
@@ -1301,8 +1301,8 @@ put_chars(undefined,X) ->
put_chars(Y,X) ->
io:put_chars(Y,X).
-fopen(F, Mode) ->
- case file:open(F, Mode) of
+fopen(F, ModeList) ->
+ case file:open(F, ModeList) of
{ok, Fd} ->
Fd;
{error, Reason} ->