]> git.eshelyaron.com Git - emacs.git/commitdiff
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 9b112313d6056c86760d3dc5e18934ccebbcf6ff..3195d379b54df41255e6d2f4f31b3602f0f89afb 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 ae0230633afc532ad372b53cae48102b2504aee1..6b0cfbb55d99a819ab125aa4795ec7a20c376fa2 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 1290a3c8c51b1c062dc46afd528518dcbd4eb6c8..7360fc6e95867562bb7b826e22deaabc461048e1 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 3dbe3153680146fed43f2fc0e357822ef74ed5f3..d8b29d3f0be4550d461d1c8274d352d05f75fd23 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 9cb0f60b80a00d08eb2efbaae4a4d608d5d6ce7e..66e7379ea6f82f797a3409b001180d0f2f8cbccd 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 c80b8d970dc6e6010d428cdce161f25829d47bae..199fdc8cfcb16dbc617d3262b7d3e08da208cedc 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 6225769d161e1c8298a1edd4d06daeb0cce9bf70..6b4441e28144f0d22d89ef97eeecd90d06283ceb 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 e1a55bdffc4ebc83a8229a80112c64e4ed3ae5f5..0f8fc523a1b16cf5c3d7ca319b48eee939b0b961 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)