From 7a09e7e1573787194a891c32c3214ee8818109ca Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Tue, 23 Apr 1991 12:52:16 +0000 Subject: [PATCH] Added some declarations to the dummy xxx-carefully functions for safety. --- code/fdefinition.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/fdefinition.lisp b/code/fdefinition.lisp index 1b2a15195..2f130961d 100644 --- a/code/fdefinition.lisp +++ b/code/fdefinition.lisp @@ -7,12 +7,10 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fdefinition.lisp,v 1.4 1991/02/08 13:32:37 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fdefinition.lisp,v 1.5 1991/04/23 12:52:16 ram Exp $") ;;; ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fdefinition.lisp,v 1.4 1991/02/08 13:32:37 ram Exp $ -;;; ;;; Functions that hack on the global function namespace (primarily ;;; concerned with SETF functions here.) ;;; @@ -43,10 +41,12 @@ #+new-compiler (defun careful-symbol-function (name) + (declare (symbol name)) (symbol-function name)) #+new-compiler (defun set-symbol-function-carefully (name value) + (declare (symbol name) (type function value)) (setf (symbol-function name) value)) (defun fdefinition (name) -- GitLab