From ec2fff38d12f7e6ab1070d131cbac8764850f8ea Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 19 Sep 2017 18:11:59 +0100 Subject: [PATCH] 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. --- zone.lisp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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. -- 2.11.0