emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r104552: Avoid compiler warnings abou


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104552: Avoid compiler warnings about missing prototypes of window.c functions.
Date: Fri, 10 Jun 2011 13:16:15 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104552
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Fri 2011-06-10 13:16:15 +0300
message:
  Avoid compiler warnings about missing prototypes of window.c functions.
  
   src/window.h (resize_frame_windows, resize_window_check)
   (delete_deletable_window, resize_root_window)
   (resize_frame_windows): Declare prototypes.
   src/ window.c (resize_window_apply): Make definition be "static" to
   match the prototype.
modified:
  src/ChangeLog
  src/window.c
  src/window.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-06-10 06:55:18 +0000
+++ b/src/ChangeLog     2011-06-10 10:16:15 +0000
@@ -1,3 +1,12 @@
+2011-06-10  Eli Zaretskii  <address@hidden>
+
+       * window.h (resize_frame_windows, resize_window_check)
+       (delete_deletable_window, resize_root_window)
+       (resize_frame_windows): Declare prototypes.
+
+       * window.c (resize_window_apply): Make definition be "static" to
+       match the prototype.
+
 2011-06-10  Martin Rudalics  <address@hidden>
 
        * window.c: Remove declarations of Qwindow_size_fixed,

=== modified file 'src/window.c'
--- a/src/window.c      2011-06-10 06:55:18 +0000
+++ b/src/window.c      2011-06-10 10:16:15 +0000
@@ -3614,7 +3614,7 @@
 
    This function does not perform any error checks.  Make sure you have
    run resize_window_check on W before applying this function.  */
-void
+static void
 resize_window_apply (struct window *w, int horflag)
 {
   struct window *c, *p;

=== modified file 'src/window.h'
--- a/src/window.h      2011-06-08 08:35:20 +0000
+++ b/src/window.h      2011-06-10 10:16:15 +0000
@@ -933,5 +933,12 @@
 extern void init_window (void);
 extern void syms_of_window (void);
 extern void keys_of_window (void);
+extern void resize_frame_windows (struct frame *, int, int);
+extern int resize_window_check (struct window *, int);
+extern Lisp_Object delete_deletable_window (Lisp_Object);
+extern Lisp_Object resize_root_window (Lisp_Object, Lisp_Object, Lisp_Object,
+                                      Lisp_Object);
+extern void resize_frame_windows (struct frame *, int, int);
+
 
 #endif /* not WINDOW_H_INCLUDED */


reply via email to

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