summaryrefslogtreecommitdiff
path: root/src/marker.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-13 23:48:41 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-13 23:48:41 -0700
commite3b27b31a8379663f047e53c29e938018d7dd6b7 (patch)
treef52401a9e8ac0a54a57f8ec8abd977129c7031cd /src/marker.c
parent9996870822d6e2a0ebd2990aec8e707f09f7b264 (diff)
downloademacs-e3b27b31a8379663f047e53c29e938018d7dd6b7.tar.gz
Don't publish debugger-only interfaces to other modules.
* lisp.h (safe_debug_print, debug_output_compilation_hack): (verify_bytepos, count_markers): Move decls to the only modules that need them. * region-cache.h (pp_cache): Likewise. * window.h (check_all_windows): Likewise. * marker.c, print.c, region-cache.c, window.c: Decls moved here.
Diffstat (limited to 'src/marker.c')
-rw-r--r--src/marker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/marker.c b/src/marker.c
index 7d461099140..675bbc5ad73 100644
--- a/src/marker.c
+++ b/src/marker.c
@@ -242,6 +242,7 @@ buf_charpos_to_bytepos (struct buffer *b, EMACS_INT charpos)
/* Used for debugging: recompute the bytepos corresponding to CHARPOS
in the simplest, most reliable way. */
+extern EMACS_INT verify_bytepos (EMACS_INT charpos) EXTERNALLY_VISIBLE;
EMACS_INT
verify_bytepos (EMACS_INT charpos)
{
@@ -864,6 +865,7 @@ DEFUN ("buffer-has-markers-at", Fbuffer_has_markers_at, Sbuffer_has_markers_at,
/* For debugging -- count the markers in buffer BUF. */
+extern int count_markers (struct buffer *) EXTERNALLY_VISIBLE;
int
count_markers (struct buffer *buf)
{