]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix some cedet compilation warnings pertaining to semantic/db
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 14:33:06 +0000 (16:33 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 14:33:06 +0000 (16:33 +0200)
* lisp/cedet/ede/config.el (semantic/db)
(ede-preprocessor-map): Ditto.

* lisp/cedet/ede/cpp-root.el (semantic/db): Ditto.

* lisp/cedet/ede/emacs.el (semantic/db): Ditto.

* lisp/cedet/ede/linux.el (semantic/db): Require to avoid warnings
about unknown slot lexical-table, and remove declare-functions
from the now-required semantic/db.

lisp/cedet/ede/config.el
lisp/cedet/ede/cpp-root.el
lisp/cedet/ede/emacs.el
lisp/cedet/ede/linux.el

index f708f844f3697a7fc3285522cfa2f6d32305ade4..c94fdabf50eb964c093786321aa4ff1df701c177 100644 (file)
@@ -55,6 +55,7 @@
 
 ;;; Code:
 (require 'ede)
+(require 'semantic/db)
 
 ;;; CONFIG
 ;;
@@ -360,11 +361,6 @@ parsed again."))
 This target brings in methods used by Semantic to query
 the preprocessor map, and include paths.")
 
-(declare-function semanticdb-file-table-object "semantic/db"
-                 (file &optional dontload))
-(declare-function semanticdb-needs-refresh-p "semantic/db" (arg &rest args))
-(declare-function semanticdb-refresh-table "semantic/db" (arg &rest args))
-
 (cl-defmethod ede-preprocessor-map ((this ede-target-with-config-c))
   "Get the pre-processor map for some generic C code."
   (require 'semantic/sb)
index ec12bbec6b8886b37d7024c70b4ef817948a7e6d..83474a44dd3889b4caa9e1616e2d03a141bdd625 100644 (file)
 ;;   up the differences (the "include summary" reported the same include paths).
 
 (require 'ede)
+(require 'semantic/db)
 
 (defvar semantic-lex-spp-project-macro-symbol-obarray)
 (declare-function semantic-lex-make-spp-table "semantic/lex-spp")
-(declare-function semanticdb-file-table-object "semantic/db")
-(declare-function semanticdb-needs-refresh-p "semantic/db")
-(declare-function semanticdb-refresh-table "semantic/db")
 
 ;;; Code:
 
index dea00106b2dd9019698f303cfa901bcf26d530f9..600ec87ea4db978bebe54453556fd05cd89bfc36 100644 (file)
@@ -33,9 +33,7 @@
 ;; * Add website
 
 (require 'ede)
-(declare-function semanticdb-file-table-object "semantic/db")
-(declare-function semanticdb-needs-refresh-p "semantic/db")
-(declare-function semanticdb-refresh-table "semantic/db")
+(require 'semantic/db)
 
 ;;; Code:
 
index e06b57e39e88dc0b92aea5195b1d9cab6aaec38e..424a20dec4dac6f07f6f50a46079c09bfb4a0f52 100644 (file)
 
 (require 'ede)
 (require 'ede/make)
+(require 'semantic/db)
 (eval-when-compile (require 'cl-lib))
 
-(declare-function semanticdb-file-table-object "semantic/db")
-(declare-function semanticdb-needs-refresh-p "semantic/db")
-(declare-function semanticdb-refresh-table "semantic/db")
-
 ;;; Code:
 (defgroup project-linux nil
   "File and tag browser frame."