summaryrefslogtreecommitdiff
path: root/map65/libm65/getpfx2.f90
diff options
context:
space:
mode:
Diffstat (limited to 'map65/libm65/getpfx2.f90')
-rw-r--r--map65/libm65/getpfx2.f9015
1 files changed, 11 insertions, 4 deletions
diff --git a/map65/libm65/getpfx2.f90 b/map65/libm65/getpfx2.f90
index d747e7f2..82b9ca0b 100644
--- a/map65/libm65/getpfx2.f90
+++ b/map65/libm65/getpfx2.f90
@@ -1,9 +1,15 @@
+module getpfx2_mod
+ implicit none
+contains
+
subroutine getpfx2(k0,callsign)
- character callsign*12
- include 'pfx.f90'
- character addpfx*8
- common/pfxcom/addpfx
+ use pfx_data_mod
+ use pfx_mod
+
+ integer, intent(in) :: k0
+ character(len=12), intent(inout) :: callsign
+ integer :: iz,k
k=k0
if(k.gt.450) k=k-450
@@ -21,4 +27,5 @@ subroutine getpfx2(k0,callsign)
return
end subroutine getpfx2
+end module getpfx2_mod