Skip to content

Commit

Permalink
Eliminating compilation warnings on CCL
Browse files Browse the repository at this point in the history
  • Loading branch information
adlai authored and blitz committed Dec 26, 2009
1 parent fae2fd2 commit 6c29e9a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions floating-group.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
(xlib:drawable-y (window-xwin window)))))
(multiple-value-bind (relx rely same-screen-p child state-mask)
(xlib:query-pointer (window-parent window))
(declare (ignore same-screen-p child))
(let ((initial-width (xlib:drawable-width (slot-value window 'parent)))
(initial-height (xlib:drawable-height (slot-value window 'parent))))
(labels ((move-window-event-handler (&rest event-slots &key event-key &allow-other-keys)
Expand Down
1 change: 1 addition & 0 deletions help.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
(columnize data cols))))

(defcommand commands () ()
"List all available commands."
(let* ((screen (current-screen))
(data (all-commands))
(cols (ceiling (length data)
Expand Down
1 change: 1 addition & 0 deletions version.lisp.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
*time-format-string-default*)))

(defcommand version () ()
"Print version information and compilation date."
(message *version*))

;; End of file
2 changes: 2 additions & 0 deletions wrappers.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
(find-symbol "UNIX-FILE-KIND" :sb-unix))))
(defun pathname-is-executable-p (pathname)
"Return T if the pathname describes an executable file."
(declare (ignorable pathname))
#+sbcl
(let ((filename (coerce (sb-ext:native-namestring pathname) 'base-string)))
(and (eq (funcall file-kind-fun filename) :file)
Expand Down Expand Up @@ -370,6 +371,7 @@ regarding files in sysfs. Data is read in chunks of BLOCKSIZE bytes."
(error "unimplemented"))

(defun execv (program &rest arguments)
(declare (ignorable program arguments))
;; FIXME: seems like there should be a way to do this in sbcl the way it's done in clisp. -sabetts
#+sbcl
(sb-alien:with-alien ((prg sb-alien:c-string program)
Expand Down

0 comments on commit 6c29e9a

Please sign in to comment.