Fix some declarations
authorGlenn Morris <rgm@gnu.org>
Sat, 11 May 2013 02:27:28 +0000 (19:27 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 11 May 2013 02:27:28 +0000 (19:27 -0700)
* lisp/faces.el (internal-face-x-get-resource):
* lisp/frame.el (ns-display-monitor-attributes-list):
* lisp/calc/calc-aent.el (math-to-radians-2):
* lisp/cedet/ede/locate.el (cedet-cscope-version-check)
(cedet-cscope-support-for-directory):
* lisp/cedet/semantic/grammar.el (semantic-grammar-wy--install-parser):
* lisp/emacs-lisp/package.el (tar-header-name, tar-header-link-type):
Fix declarations.

lisp/ChangeLog
lisp/calc/calc-aent.el
lisp/cedet/ChangeLog
lisp/cedet/ede/locate.el
lisp/cedet/semantic/grammar.el
lisp/emacs-lisp/package.el
lisp/faces.el
lisp/frame.el

index 9b11231..3195d37 100644 (file)
@@ -1,5 +1,11 @@
 2013-05-11  Glenn Morris  <rgm@gnu.org>
 
+       * faces.el (internal-face-x-get-resource):
+       * frame.el (ns-display-monitor-attributes-list):
+       * calc/calc-aent.el (math-to-radians-2): Fix declarations.
+
+       * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
+
        * calc/calc-menu.el: Make it loadable in isolation.
 
        * net/eudcb-bbdb.el: Make it loadable without bbdb.
index ae02306..6b0cfbb 100644 (file)
@@ -42,7 +42,7 @@
 (declare-function math-simplify "calc-alg" (top-expr))
 (declare-function math-known-matrixp "calc-arith" (a))
 (declare-function math-parse-fortran-subscr "calc-lang" (sym args))
-(declare-function math-to-radians-2 "calc-math" (a))
+(declare-function math-to-radians-2 "calc-math" (a &optional force-symbolic))
 (declare-function math-read-string "calc-ext" ())
 (declare-function math-read-brackets "calc-vec" (space-sep math-rb-close))
 (declare-function math-read-angle-brackets "calc-forms" ())
index 1290a3c..7360fc6 100644 (file)
@@ -1,5 +1,10 @@
 2013-05-11  Glenn Morris  <rgm@gnu.org>
 
+       * ede/locate.el (cedet-cscope-version-check)
+       (cedet-cscope-support-for-directory):
+       * semantic/grammar.el (semantic-grammar-wy--install-parser):
+       Fix declarations.
+
        * ede/project-am.el (project-am-compile-project-command): Fix :type.
 
 2013-05-09  Glenn Morris  <rgm@gnu.org>
index 3dbe315..d8b29d3 100644 (file)
@@ -310,8 +310,8 @@ that created this EDE locate object."
 ;;; CSCOPE
 ;;
 
-(declare-function cedet-cscope-version-check "cedet-scope")
-(declare-function cedet-cscope-support-for-directory "cedet-scope")
+(declare-function cedet-cscope-version-check "cedet-cscope")
+(declare-function cedet-cscope-support-for-directory "cedet-cscope")
 (declare-function cedet-cscope-expand-filename "cedet-cscope")
 (declare-function cedet-cscope-create/update-database "cedet-cscope")
 
index 9cb0f60..66e7379 100644 (file)
   (require 'semantic/find)
   (require 'semantic/db))
 
-(declare-function semantic-grammar-wy--install-parser
-                 "semantic/gram-wy-fallback")
-
-(declare-function semantic-grammar-wy--install-parser
-                 "semantic/gram-wy-fallback")
+(declare-function semantic-grammar-wy--install-parser "semantic/grammar-wy")
 
 \f
 ;;;;
index c80b8d9..199fdc8 100644 (file)
@@ -613,8 +613,8 @@ EXTRA-PROPERTIES is currently unused."
 
 (defvar tar-parse-info)
 (declare-function tar-untar-buffer "tar-mode" ())
-(declare-function tar-header-name "tar-mode" (tar-header))
-(declare-function tar-header-link-type "tar-mode" (tar-header))
+(declare-function tar-header-name "tar-mode" (tar-header) t)
+(declare-function tar-header-link-type "tar-mode" (tar-header) t)
 
 (defun package-untar-buffer (dir)
   "Untar the current buffer.
index 6225769..6b4441e 100644 (file)
@@ -297,7 +297,7 @@ X resource class for the attribute."
 
 
 (declare-function internal-face-x-get-resource "xfaces.c"
-                 (resource class frame))
+                 (resource class &optional frame))
 
 (declare-function internal-set-lisp-face-attribute-from-resource "xfaces.c"
                  (face attr value &optional frame))
index e1a55bd..0f8fc52 100644 (file)
@@ -1495,7 +1495,7 @@ The value is one of the symbols `static-gray', `gray-scale',
 
 (declare-function x-display-monitor-attributes-list "xfns.c"
                  (&optional terminal))
-(declare-function ns-display-monitor-attributes-list "nsfns.c"
+(declare-function ns-display-monitor-attributes-list "nsfns.m"
                  (&optional terminal))
 
 (defun display-monitor-attributes-list (&optional display)