summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-12-20 01:20:17 +0100
committerBastien Guerry <bzg@altern.org>2012-12-20 01:20:17 +0100
commitfd9b262d94df7713e6496284bdb09627e4dbe7a3 (patch)
treedff16edc1954a807a6969699e877bf5325af8125
parentf506348bcf182c835165301ece4ab66e9b74bf55 (diff)
downloadorg-mode-fd9b262d94df7713e6496284bdb09627e4dbe7a3.tar.gz
Fix more compiler warnings.
* org.el (org-clock-timestamps-up): Fix declarations. * ob-core.el (org-split-string): Declare function.
-rw-r--r--lisp/ob-core.el1
-rw-r--r--lisp/org.el4
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index f9accda..9d62ae8 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -54,6 +54,7 @@
(declare-function org-outline-overlay-data "org" (&optional use-markers))
(declare-function org-set-outline-overlay-data "org" (data))
(declare-function org-narrow-to-subtree "org" ())
+(declare-function org-split-string "org" (string &optional separators))
(declare-function org-entry-get "org"
(pom property &optional inherit literal-nil))
(declare-function org-make-options-regexp "org" (kwds &optional extra))
diff --git a/lisp/org.el b/lisp/org.el
index 05d9773..7d4c544 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -117,8 +117,8 @@ Stars are put in group 1 and the trimmed body in group 2.")
(declare-function org-pop-to-buffer-same-window "org-compat" (&optional buffer-or-name norecord label))
(declare-function org-at-clock-log-p "org-clock" ())
(declare-function org-clock-get-last-clock-out-time "org-clock" ())
-(declare-function org-clock-timestamps-up "org-clock" ())
-(declare-function org-clock-timestamps-down "org-clock" ())
+(declare-function org-clock-timestamps-up "org-clock" (&optional n))
+(declare-function org-clock-timestamps-down "org-clock" (&optional n))
(declare-function org-clock-sum-current-item "org-clock" (&optional tstart))
(declare-function orgtbl-mode "org-table" (&optional arg))