Declaration fixes.
authorGlenn Morris <rgm@gnu.org>
Thu, 5 May 2011 06:35:41 +0000 (23:35 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 5 May 2011 06:35:41 +0000 (23:35 -0700)
* lisp/net/network-stream.el (gnutls-negotiate): Fix declaration.

* lisp/simple.el (tabulated-list-print): Fix declaration.

* lisp/progmodes/gud.el (syntax-symbol, syntax-point):
Remove unnecessary and incorrect declarations.

lisp/ChangeLog
lisp/net/network-stream.el
lisp/progmodes/gud.el
lisp/simple.el

index 5d40325..7e13237 100644 (file)
@@ -1,5 +1,11 @@
 2011-05-05  Glenn Morris  <rgm@gnu.org>
 
+       * net/network-stream.el (gnutls-negotiate):
+       * simple.el (tabulated-list-print): Fix declarations.
+
+       * progmodes/gud.el (syntax-symbol, syntax-point):
+       Remove unnecessary and incorrect declarations.
+
        * emacs-lisp/check-declare.el (check-declare-scan):
        Handle byte-compile-initial-macro-environment in bytecomp.el
 
index f3cfd7d..61e4630 100644 (file)
@@ -45,7 +45,7 @@
 (require 'tls)
 (require 'starttls)
 
-(declare-function gnutls-negotiate "gnutls" (&rest spec))
+(declare-function gnutls-negotiate "gnutls" t t) ; defun*
 
 ;;;###autoload
 (defun open-network-stream (name buffer host service &rest parameters)
index 74bdc98..f452730 100644 (file)
@@ -3042,8 +3042,6 @@ Link exprs of the form:
 
 (declare-function c-langelem-sym "cc-defs" (langelem))
 (declare-function c-langelem-pos "cc-defs" (langelem))
-(declare-function syntax-symbol  "gud"     (x))
-(declare-function syntax-point   "gud"     (x))
 
 (defun gud-find-class (f _line)
   "Find fully qualified class in file F at line LINE.
index 9fd2218..dba0453 100644 (file)
@@ -2707,7 +2707,8 @@ support pty association, if PROGRAM is nil."
 (defvar tabulated-list-entries)
 (defvar tabulated-list-sort-key)
 (declare-function tabulated-list-init-header  "tabulated-list" ())
-(declare-function tabulated-list-print "tabulated-list" ())
+(declare-function tabulated-list-print "tabulated-list"
+                  (&optional remember-pos))
 
 (defvar process-menu-query-only nil)