emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102431: Move declarations from .c fi


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102431: Move declarations from .c files to .h files.
Date: Thu, 18 Nov 2010 08:57:00 -0800
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102431
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Thu 2010-11-18 08:57:00 -0800
message:
  Move declarations from .c files to .h files.
  
  * src/process.c (timers_run):
  * src/minibuf.c (quit_char):
  * src/lread.c (read_emacs_mule_char):
  * src/keyboard.c (minibuf_level, message_enable_multibyte)
  (pending_malloc_warning):
  * src/insdel.c (Vselect_active_regions, Vsaved_region_selection)
  (Qonly): Remove declarations.
  * src/lisp.h (pending_malloc_warning, Vsaved_region_selection)
  (Vselect_active_regions):
  * src/keyboard.h (timers_run):  Add declarations.
modified:
  src/ChangeLog
  src/insdel.c
  src/keyboard.c
  src/keyboard.h
  src/lisp.h
  src/lread.c
  src/minibuf.c
  src/process.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-11-18 16:49:30 +0000
+++ b/src/ChangeLog     2010-11-18 16:57:00 +0000
@@ -1,5 +1,17 @@
 2010-11-18  Dan Nicolaescu  <address@hidden>
 
+       Move declarations from .c files to .h files.
+       * process.c (timers_run):
+       * minibuf.c (quit_char):
+       * lread.c (read_emacs_mule_char):
+       * keyboard.c (minibuf_level, message_enable_multibyte)
+       (pending_malloc_warning):
+       * insdel.c (Vselect_active_regions, Vsaved_region_selection)
+       (Qonly): Remove declarations.
+       * lisp.h (pending_malloc_warning, Vsaved_region_selection)
+       (Vselect_active_regions):
+       * keyboard.h (timers_run):  Add declarations.
+
        * strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r)
        (tm_diff): Convert definitions to standard C.
        (extra_args_spec_iso): Remove, unused.

=== modified file 'src/insdel.c'
--- a/src/insdel.c      2010-10-21 17:27:32 +0000
+++ b/src/insdel.c      2010-11-18 16:57:00 +0000
@@ -73,9 +73,6 @@
 Lisp_Object combine_after_change_buffer;
 
 Lisp_Object Qinhibit_modification_hooks;
-
-extern Lisp_Object Vselect_active_regions, Vsaved_region_selection, Qonly;
-
 
 /* Check all markers in the current buffer, looking for something invalid.  */
 
@@ -2395,5 +2392,3 @@
   defsubr (&Scombine_after_change_execute);
 }
 
-/* arch-tag: 9b34b886-47d7-465e-a234-299af411b23d
-   (do not change this comment) */

=== modified file 'src/keyboard.c'
--- a/src/keyboard.c    2010-11-18 03:54:14 +0000
+++ b/src/keyboard.c    2010-11-18 16:57:00 +0000
@@ -144,10 +144,6 @@
 static int before_command_key_count;
 static int before_command_echo_length;
 
-extern int minbuf_level;
-
-extern int message_enable_multibyte;
-
 /* If non-nil, the function that implements the display of help.
    It's called with one argument, the help string to display.  */
 
@@ -431,8 +427,6 @@
 /* Nonzero if input is available.  */
 int input_pending;
 
-extern const char *pending_malloc_warning;
-
 /* Circular buffer for pre-read keyboard input.  */
 
 static struct input_event kbd_buffer[KBD_BUFFER_SIZE];
@@ -12434,5 +12428,3 @@
   }
 }
 
-/* arch-tag: 774e34d7-6d31-42f3-8397-e079a4e4c9ca
-   (do not change this comment) */

=== modified file 'src/keyboard.h'
--- a/src/keyboard.h    2010-09-25 09:36:36 +0000
+++ b/src/keyboard.h    2010-11-18 16:57:00 +0000
@@ -490,6 +490,8 @@
 
 extern int quit_char;
 
+extern int timers_run;
+
 extern int parse_menu_item (Lisp_Object, int);
 
 extern void echo_now (void);
@@ -534,5 +536,3 @@
                                  struct input_event *);
 extern EMACS_TIME timer_check (int);
 
-/* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3
-   (do not change this comment) */

=== modified file 'src/lisp.h'
--- a/src/lisp.h        2010-11-12 09:31:44 +0000
+++ b/src/lisp.h        2010-11-18 16:57:00 +0000
@@ -2736,6 +2736,7 @@
 extern void buffer_memory_full (void) NO_RETURN;
 extern int survives_gc_p (Lisp_Object);
 extern void mark_object (Lisp_Object);
+extern const char *pending_malloc_warning;
 extern Lisp_Object Vpurify_flag;
 extern Lisp_Object Vmemory_full;
 extern Lisp_Object *stack_base;
@@ -3233,6 +3234,8 @@
 extern Lisp_Object Qabove_handle, Qhandle, Qbelow_handle;
 extern Lisp_Object Qup, Qdown, Qbottom, Qend_scroll;
 extern Lisp_Object Qtop, Qratio;
+extern Lisp_Object Vsaved_region_selection;
+extern Lisp_Object Vselect_active_regions;
 extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level;
 extern Lisp_Object Vthrow_on_input;
 extern int input_pending;

=== modified file 'src/lread.c'
--- a/src/lread.c       2010-11-18 03:54:14 +0000
+++ b/src/lread.c       2010-11-18 16:57:00 +0000
@@ -552,8 +552,6 @@
    encoded in `emacs-mule' and the first byte is already read in
    C.  */
 
-extern char emacs_mule_bytes[256];
-
 static int
 read_emacs_mule_char (int c, int (*readbyte) (int, Lisp_Object), Lisp_Object 
readcharfun)
 {

=== modified file 'src/minibuf.c'
--- a/src/minibuf.c     2010-09-25 11:55:30 +0000
+++ b/src/minibuf.c     2010-11-18 16:57:00 +0000
@@ -36,8 +36,6 @@
 #include "keymap.h"
 #include "termhooks.h"
 
-extern int quit_char;
-
 /* List of buffers for use as minibuffers.
    The first element of the list is used for the outermost minibuffer
    invocation, the next element is used for a recursive minibuffer
@@ -2242,5 +2240,3 @@
   defsubr (&Scompleting_read);
 }
 
-/* arch-tag: 8f69b601-fba3-484c-a6dd-ceaee54a7a73
-   (do not change this comment) */

=== modified file 'src/process.c'
--- a/src/process.c     2010-11-18 03:54:14 +0000
+++ b/src/process.c     2010-11-18 16:57:00 +0000
@@ -113,8 +113,6 @@
 #include "nsterm.h"
 #endif
 
-extern int timers_run;
-
 Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname, Qtpgid;
 Lisp_Object Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime, Qcstime;
 Lisp_Object Qcutime, Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs;
@@ -7744,5 +7742,3 @@
   defsubr (&Sprocess_attributes);
 }
 
-/* arch-tag: 3706c011-7b9a-4117-bd4f-59e7f701a4c4
-   (do not change this comment) */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]