From: Mark Wooding Date: Tue, 19 Sep 2017 17:11:59 +0000 (+0100) Subject: zone.lisp: Sink `zone-text-name' until after `zone' structure is defined. X-Git-Url: https://git.distorted.org.uk/~mdw/zone/commitdiff_plain/ec2fff38d12f7e6ab1070d131cbac8764850f8ea zone.lisp: Sink `zone-text-name' until after `zone' structure is defined. Muffles a warning from SBCL, which was sad because it couldn't inline a structure accessor. --- diff --git a/zone.lisp b/zone.lisp index 8eef825..9e52569 100644 --- a/zone.lisp +++ b/zone.lisp @@ -237,10 +237,6 @@ min-ttl serial) -(export 'zone-text-name) -(defun zone-text-name (zone) - (princ-to-string (zone-name zone))) - (export 'mx) (defstruct (mx (:predicate mxp)) "Mail-exchange record information." @@ -255,6 +251,10 @@ name records) +(export 'zone-text-name) +(defun zone-text-name (zone) + (princ-to-string (zone-name zone))) + ;;;-------------------------------------------------------------------------- ;;; Zone defaults. It is intended that scripts override these.