texinfo-commits
[Top][All Lists]
Advanced

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

[7013] remove extern before some function declarations


From: Gavin D. Smith
Subject: [7013] remove extern before some function declarations
Date: Sat, 13 Feb 2016 21:19:51 +0000

Revision: 7013
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7013
Author:   gavin
Date:     2016-02-13 21:19:19 +0000 (Sat, 13 Feb 2016)
Log Message:
-----------
remove extern before some function declarations

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/echo-area.h
    trunk/info/filesys.h
    trunk/info/indices.h
    trunk/info/info-utils.h
    trunk/info/search.h
    trunk/info/session.h
    trunk/info/variables.h
    trunk/info/window.h

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/ChangeLog     2016-02-13 21:19:19 UTC (rev 7013)
@@ -1,5 +1,15 @@
 2016-02-13  Gavin Smith  <address@hidden>
 
+       * info/nodes.h, info/echo-area.h, info/filesys.h, info/window.h,
+       info/indices.h, info/info-utils.h, info/search.h, info/session.h,
+       info/variables.h: Remove unnecessary "extern" modifier for 
+       function declarations.
+       
+       * info/window.h: Remove declaration of removed function 
+       'process_node_text'.
+
+2016-02-13  Gavin Smith  <address@hidden>
+
        * info/window.c (calculate_line_starts): Only look in first line 
        of node for Info keywords.
 

Modified: trunk/info/echo-area.h
===================================================================
--- trunk/info/echo-area.h      2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/info/echo-area.h      2016-02-13 21:19:19 UTC (rev 7013)
@@ -32,19 +32,19 @@
 
 extern REFERENCE **echo_area_completion_items;
 
-extern void inform_in_echo_area (const char *message);
-extern void echo_area_inform_of_deleted_window (WINDOW *window);
-extern void echo_area_prep_read (void);
+void inform_in_echo_area (const char *message);
+void echo_area_inform_of_deleted_window (WINDOW *window);
+void echo_area_prep_read (void);
 
 typedef int (*reference_bool_fn) (REFERENCE *);
 
-extern char *info_read_completing_internal (const char *prompt,
+char *info_read_completing_internal (const char *prompt,
     REFERENCE **completions, int force, reference_bool_fn exclude);
 
 /* Read a line of text in the echo area.  Return a malloc ()'ed string,
    or NULL if the user aborted out of this read.  PROMPT, if
    non-null, is a prompt to print before reading the line. */
-extern char *info_read_in_echo_area (const char *prompt);
+char *info_read_in_echo_area (const char *prompt);
 
 /* Read a line in the echo area with completion over COMPLETIONS. */
 char *info_read_completing_in_echo_area (const char *prompt,
@@ -52,8 +52,7 @@
 
 /* Read a line in the echo area allowing completion over COMPLETIONS, but
    not requiring it. */
-extern char *info_read_maybe_completing (const char *prompt,
-                                         REFERENCE **completions);
+char *info_read_maybe_completing (const char *prompt, REFERENCE **completions);
 
 /* Read a line in the echo area with completion over COMPLETIONS, using
    EXCLUDE to exclude items from the completion list. */
@@ -61,28 +60,28 @@
 info_read_completing_in_echo_area_with_exclusions (const char *prompt,
     REFERENCE **completions, reference_bool_fn exclude);
 
-extern void ea_insert (WINDOW *window, int count, int key);
-extern void ea_quoted_insert (WINDOW *window, int count);
-extern void ea_beg_of_line (WINDOW *window, int count);
-extern void ea_backward (WINDOW *window, int count);
-extern void ea_delete (WINDOW *window, int count);
-extern void ea_end_of_line (WINDOW *window, int count);
-extern void ea_forward (WINDOW *window, int count);
-extern void ea_abort (WINDOW *window, int count);
-extern void ea_rubout (WINDOW *window, int count);
-extern void ea_complete (WINDOW *window, int count);
-extern void ea_newline (WINDOW *window, int count);
-extern void ea_kill_line (WINDOW *window, int count);
-extern void ea_backward_kill_line (WINDOW *window, int count);
-extern void ea_transpose_chars (WINDOW *window, int count);
-extern void ea_yank (WINDOW *window, int count);
-extern void ea_tab_insert (WINDOW *window, int count);
-extern void ea_possible_completions (WINDOW *window, int count);
-extern void ea_backward_word (WINDOW *window, int count);
-extern void ea_kill_word (WINDOW *window, int count);
-extern void ea_forward_word (WINDOW *window, int count);
-extern void ea_yank_pop (WINDOW *window, int count);
-extern void ea_backward_kill_word (WINDOW *window, int count);
-extern void ea_scroll_completions_window (WINDOW *window, int count);
+void ea_insert (WINDOW *window, int count, int key);
+void ea_quoted_insert (WINDOW *window, int count);
+void ea_beg_of_line (WINDOW *window, int count);
+void ea_backward (WINDOW *window, int count);
+void ea_delete (WINDOW *window, int count);
+void ea_end_of_line (WINDOW *window, int count);
+void ea_forward (WINDOW *window, int count);
+void ea_abort (WINDOW *window, int count);
+void ea_rubout (WINDOW *window, int count);
+void ea_complete (WINDOW *window, int count);
+void ea_newline (WINDOW *window, int count);
+void ea_kill_line (WINDOW *window, int count);
+void ea_backward_kill_line (WINDOW *window, int count);
+void ea_transpose_chars (WINDOW *window, int count);
+void ea_yank (WINDOW *window, int count);
+void ea_tab_insert (WINDOW *window, int count);
+void ea_possible_completions (WINDOW *window, int count);
+void ea_backward_word (WINDOW *window, int count);
+void ea_kill_word (WINDOW *window, int count);
+void ea_forward_word (WINDOW *window, int count);
+void ea_yank_pop (WINDOW *window, int count);
+void ea_backward_kill_word (WINDOW *window, int count);
+void ea_scroll_completions_window (WINDOW *window, int count);
 
 #endif /* not INFO_ECHO_AREA_H */

Modified: trunk/info/filesys.h
===================================================================
--- trunk/info/filesys.h        2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/info/filesys.h        2016-02-13 21:19:19 UTC (rev 7013)
@@ -2,7 +2,7 @@
    $Id$
 
    Copyright 1993, 1997, 1998, 2002, 2004, 2005, 2007, 2009, 2012, 2013,
-   2014 Free Software Foundation, Inc.
+   2014, 2016 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@
 void infopath_init (void);
 
 /* Add PATH to the list of paths found in INFOPATH. */
-extern void infopath_add (char *path);
+void infopath_add (char *path);
 
 /* Iterate over INFOPATH */
 char *infopath_first (int *idx);
@@ -38,33 +38,32 @@
 /* Expand the filename in PARTIAL to make a real name for this operating
    system.  This looks in INFO_PATHS in order to find the correct file.
    If it can't find the file, it returns NULL. */
-extern char *info_find_fullpath (char *partial, struct stat *finfo);
+char *info_find_fullpath (char *partial, struct stat *finfo);
 
 /* Scan the list of directories in PATH looking for FILENAME.  If we find
    one that is a regular file, return it as a new string.  Otherwise, return
    a NULL pointer. */
-extern char *info_file_find_next_in_path (char *filename,
-                                         int *diridx, struct stat *finfo);
+char *info_file_find_next_in_path (char *filename, int *diridx,
+                                   struct stat *finfo);
 
-extern char *info_add_extension (char *dirname, char *filename,
-                                 struct stat *finfo);
+char *info_add_extension (char *dirname, char *filename, struct stat *finfo);
 
 /* Read the contents of PATHNAME, returning a buffer with the contents of
    that file in it, and returning the size of that buffer in FILESIZE.
    FINFO is a stat struct which has already been filled in by the caller.
    If the file cannot be read, return a NULL pointer. */
-extern char *filesys_read_info_file (char *pathname, size_t *filesize,
+char *filesys_read_info_file (char *pathname, size_t *filesize,
     struct stat *finfo, int *is_compressed);
 
 /* A function which returns a pointer to a static buffer containing
    an error message for FILENAME and ERROR_NUM. */
-extern char *filesys_error_string (char *filename, int error_num);
+char *filesys_error_string (char *filename, int error_num);
 
 /* The number of the most recent file system error. */
 extern int filesys_error_number;
 
 /* Return true if FILENAME is `dir', with a possible compression suffix.  */
-extern int is_dir_name (char *filename);
+int is_dir_name (char *filename);
 
 /* The default value of INFOPATH. */
 #if !defined (DEFAULT_INFOPATH)

Modified: trunk/info/indices.h
===================================================================
--- trunk/info/indices.h        2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/info/indices.h        2016-02-13 21:19:19 UTC (rev 7013)
@@ -29,8 +29,8 @@
 REFERENCE **apropos_in_all_indices (char *search_string, int inform);
 
 /* User visible functions declared in indices.c. */
-extern void info_index_search (WINDOW *window, int count);
-extern void info_index_apropos (WINDOW *window, int count);
+void info_index_search (WINDOW *window, int count);
+void info_index_apropos (WINDOW *window, int count);
 void next_index_match (FILE_BUFFER *fb, char *string, int offset, int dir,
                   REFERENCE **result, int *found_offset, int *match_offset);
 void report_index_match (int i, int match_offset);

Modified: trunk/info/info-utils.h
===================================================================
--- trunk/info/info-utils.h     2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/info/info-utils.h     2016-02-13 21:19:19 UTC (rev 7013)
@@ -49,7 +49,7 @@
 /* Get the menu entry associated with LABEL in NODE.  Return a
    pointer to the reference if found, or NULL.  If SLOPPY, accept
    initial substrings and check insensitively to case. */
-extern REFERENCE *info_get_menu_entry_by_label (NODE *node, char *label,
+REFERENCE *info_get_menu_entry_by_label (NODE *node, char *label,
                                                 int sloppy);
 
 /* A utility function for concatenating REFERENCE **.  Returns a new
@@ -58,19 +58,19 @@
 REFERENCE **info_concatenate_references (REFERENCE **ref1, REFERENCE **ref2);
 
 /* Copy an existing reference into new memory.  */
-extern REFERENCE *info_copy_reference (REFERENCE *src);
+REFERENCE *info_copy_reference (REFERENCE *src);
 
 /* Copy a list of existing references into new memory.  */
-extern REFERENCE **info_copy_references (REFERENCE **ref1);
+REFERENCE **info_copy_references (REFERENCE **ref1);
 
 /* Free the data associated with a single REF */
 void info_reference_free (REFERENCE *ref);
 
 /* Free the data associated with REFERENCES. */
-extern void info_free_references (REFERENCE **references);
+void info_free_references (REFERENCE **references);
 
 /* Create new REFERENCE structure. */
-extern REFERENCE *info_new_reference (char *filename, char *nodename);
+REFERENCE *info_new_reference (char *filename, char *nodename);
 
 /* Search for sequences of whitespace or newlines in STRING, replacing
    all such sequences with just a single space.  Remove whitespace from
@@ -81,11 +81,11 @@
 #define ITER_SETBYTES(iter,n) ((iter).cur.bytes = n)
 #define ITER_LIMIT(iter) ((iter).limit - (iter).cur.ptr)
 
-extern int ansi_escape (mbi_iterator_t iter, size_t *plen);
+int ansi_escape (mbi_iterator_t iter, size_t *plen);
 
 /* Return a pointer to a string which is the printed representation
    of CHARACTER if it were printed at HPOS. */
-extern char *printed_representation (mbi_iterator_t *iter,
+char *printed_representation (mbi_iterator_t *iter,
                                      int *delim, size_t pl_chars,
                                      size_t *pchars, size_t *pbytes);
 
@@ -94,17 +94,17 @@
 char *node_printed_rep (NODE *node);
 
 /* Return a pointer to the part of PATHNAME that simply defines the file. */
-extern char *filename_non_directory (char *pathname);
+char *filename_non_directory (char *pathname);
 
 /* Return non-zero if NODE is one especially created by Info. */
-extern int internal_info_node_p (NODE *node);
+int internal_info_node_p (NODE *node);
 
 /* Make NODE appear to be one especially created by Info, and give it NAME. */
-extern void name_internal_node (NODE *node, char *name);
+void name_internal_node (NODE *node, char *name);
 
 /* Return the window displaying NAME, the name of an internally created
    Info window. */
-extern WINDOW *get_internal_info_window (char *name);
+WINDOW *get_internal_info_window (char *name);
 
 struct text_buffer
 {

Modified: trunk/info/search.h
===================================================================
--- trunk/info/search.h 2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/info/search.h 2016-02-13 21:19:19 UTC (rev 7013)
@@ -52,37 +52,37 @@
   };
 
 SEARCH_BINDING *copy_binding (SEARCH_BINDING *binding);
-extern enum search_result search_forward (char *string,
-                                         SEARCH_BINDING *binding, long *poff);
-extern enum search_result search_backward (char *input_string,
-                                          SEARCH_BINDING *binding,
-                                          long *poff);
-extern enum search_result search (char *string, SEARCH_BINDING *binding,
-                                 long *poff);
+enum search_result search_forward (char *string,
+                                 SEARCH_BINDING *binding, long *poff);
+enum search_result search_backward (char *input_string,
+                                    SEARCH_BINDING *binding,
+                                    long *poff);
+enum search_result search (char *string, SEARCH_BINDING *binding,
+                           long *poff);
 enum search_result regexp_search (char *regexp,
                int is_literal, int is_insensitive,
                char *buffer, size_t buflen,
                regmatch_t **matches_out, size_t *match_count_out);
-extern int looking_at (char *string, SEARCH_BINDING *binding);
+int looking_at (char *string, SEARCH_BINDING *binding);
 int looking_at_line (char *string, char *pointer);
 
 /* Note that STRING_IN_LINE () always returns the offset of the 1st character
    after the string. */
-extern int string_in_line (char *string, char *line);
+int string_in_line (char *string, char *line);
 
 /* Function names that start with "skip" are passed a string, and return
    an offset from the start of that string.  Function names that start
    with "find" are passed a SEARCH_BINDING, and return an absolute position
    marker of the item being searched for.  "Find" functions return a value
    of -1 if the item being looked for couldn't be found. */
-extern int skip_whitespace (char *string);
-extern int skip_non_whitespace (char *string);
-extern int skip_whitespace_and_newlines (char *string);
-extern int skip_line (char *string);
-extern int skip_node_separator (char *body);
+int skip_whitespace (char *string);
+int skip_non_whitespace (char *string);
+int skip_whitespace_and_newlines (char *string);
+int skip_line (char *string);
+int skip_node_separator (char *body);
 
-extern long find_node_separator (SEARCH_BINDING *binding);
+long find_node_separator (SEARCH_BINDING *binding);
 long find_file_section (SEARCH_BINDING *binding, char *label);
-extern long find_node_in_binding (char *nodename, SEARCH_BINDING *binding);
+long find_node_in_binding (char *nodename, SEARCH_BINDING *binding);
 
 #endif /* not INFO_SEARCH_H */

Modified: trunk/info/session.h
===================================================================
--- trunk/info/session.h        2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/info/session.h        2016-02-13 21:19:19 UTC (rev 7013)
@@ -63,32 +63,32 @@
 
 VFunction *read_key_sequence (Keymap map, int menu, int mouse,
                               int insert, int *count);
-extern unsigned char info_input_pending_p (void);
-extern void info_set_node_of_window (WINDOW *window, NODE *node);
-extern void info_set_node_of_window_fast (WINDOW *window, NODE *node);
-extern void initialize_keyseq (void);
-extern void add_char_to_keyseq (int character);
-extern FILE_BUFFER *file_buffer_of_window (WINDOW *window);
-extern int info_select_reference (WINDOW *window, REFERENCE *entry);
-extern int info_any_buffered_input_p (void);
+unsigned char info_input_pending_p (void);
+void info_set_node_of_window (WINDOW *window, NODE *node);
+void info_set_node_of_window_fast (WINDOW *window, NODE *node);
+void initialize_keyseq (void);
+void add_char_to_keyseq (int character);
+FILE_BUFFER *file_buffer_of_window (WINDOW *window);
+int info_select_reference (WINDOW *window, REFERENCE *entry);
+int info_any_buffered_input_p (void);
 
 #define DUMP_SUBNODES 0x02
 
-extern void dump_nodes_to_file (REFERENCE **references,
+void dump_nodes_to_file (REFERENCE **references,
                                char *output_filename, int flags);
 
-extern char *program_name_from_file_name (char *file_name);
+char *program_name_from_file_name (char *file_name);
 
 /* Do the physical deletion of WINDOW, and forget this window and
    associated nodes. */
-extern void info_delete_window_internal (WINDOW *window);
+void info_delete_window_internal (WINDOW *window);
 
 void forget_window_and_nodes (WINDOW *window);
 void forget_node (WINDOW *win);
 int forget_node_fast (WINDOW *win);
 
 /* Tell Info that input is coming from the file FILENAME. */
-extern void info_set_input_from_file (char *filename);
+void info_set_input_from_file (char *filename);
 
 /* Error and debugging messages */
 extern unsigned debug_level;
@@ -101,19 +101,19 @@
     }                                                                  \
   while (0)
 
-extern void info_debug (const char *format, ...) TEXINFO_PRINTFLIKE(1,2);
+void info_debug (const char *format, ...) TEXINFO_PRINTFLIKE(1,2);
   
 /* Print args as per FORMAT.  If the window system was initialized,
    then the message is printed in the echo area.  Otherwise, a message is
    output to stderr. */
-extern void info_error (const char *format, ...) TEXINFO_PRINTFLIKE(1,2);
+void info_error (const char *format, ...) TEXINFO_PRINTFLIKE(1,2);
 
 void initialize_info_session (void);
 void info_read_and_dispatch (void);
 void close_info_session (void);
 void info_session (REFERENCE **ref_list, char *user_filename, char *error);
-extern void initialize_terminal_and_keymaps (char *init_file);
-extern REFERENCE *info_intuit_options_node (NODE *initial_node, char *program);
+void initialize_terminal_and_keymaps (char *init_file);
+REFERENCE *info_intuit_options_node (NODE *initial_node, char *program);
 
 void info_scroll_forward (WINDOW *window, int count);
 void info_abort_key (WINDOW *window, int count);
@@ -124,11 +124,11 @@
 /* Adding numeric arguments. */
 extern int info_explicit_arg;
 extern int ea_explicit_arg;
-extern void info_initialize_numeric_arg (void);
+void info_initialize_numeric_arg (void);
 
 /* Found in m-x.c.  */
-extern char *read_function_name (char *prompt, WINDOW *window);
+char *read_function_name (char *prompt, WINDOW *window);
 
-extern void show_error_node (char *error_msg);
+void show_error_node (char *error_msg);
 
 #endif /* not SESSION_H */

Modified: trunk/info/variables.h
===================================================================
--- trunk/info/variables.h      2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/info/variables.h      2016-02-13 21:19:19 UTC (rev 7013)
@@ -1,8 +1,8 @@
 /* variables.h -- Description of user visible variables in Info.
    $Id$
 
-   Copyright 1993, 1997, 2004, 2007, 2011, 2013, 2014, 2015
-   Free Software Foundation, Inc.
+   Copyright 1993, 1997, 2004, 2007, 2011, 2013, 2014, 2015,
+   2016 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -49,19 +49,19 @@
 /* Read the name of an Info variable in the echo area and return the
    address of a VARIABLE_ALIST member.  A return value of NULL indicates
    that no variable could be read. */
-extern VARIABLE_ALIST *read_variable_name (char *prompt, WINDOW *window);
+VARIABLE_ALIST *read_variable_name (char *prompt, WINDOW *window);
 
-extern VARIABLE_ALIST *variable_by_name (char *name);
+VARIABLE_ALIST *variable_by_name (char *name);
 
 /* Make an array of REFERENCE which actually contains the names of the
    variables available in Info. */
-extern REFERENCE **make_variable_completions_array (void);
+REFERENCE **make_variable_completions_array (void);
 
 /* Set the value of an info variable. */
-extern void set_variable (WINDOW *window, int count);
-extern int set_variable_to_value (VARIABLE_ALIST *var, char *value, int where);
+void set_variable (WINDOW *window, int count);
+int set_variable_to_value (VARIABLE_ALIST *var, char *value, int where);
 
-extern void describe_variable (WINDOW *window, int count);
+void describe_variable (WINDOW *window, int count);
 
 /* The list of user-visible variables. */
 extern int auto_footnotes_p;

Modified: trunk/info/window.h
===================================================================
--- trunk/info/window.h 2016-02-13 21:02:39 UTC (rev 7012)
+++ trunk/info/window.h 2016-02-13 21:19:19 UTC (rev 7013)
@@ -123,82 +123,82 @@
 extern int window_scroll_step;
 
  /* Make the modeline member for WINDOW. */
-extern void window_make_modeline (WINDOW *window);
+void window_make_modeline (WINDOW *window);
 
 /* Initalize the window system by creating THE_SCREEN and THE_ECHO_AREA.
    Create the first window ever, and make it permanent.
    You pass WIDTH and HEIGHT; the dimensions of the total screen size. */
-extern void window_initialize_windows (int width, int height);
+void window_initialize_windows (int width, int height);
 
 /* Make a new window by splitting an existing one. If the window could
    not be made return a null pointer.  The active window is not changed .*/
-extern WINDOW *window_make_window (void);
+WINDOW *window_make_window (void);
 
 /* Delete WINDOW from the list of known windows.  If this window was the
    active window, make the next window in the chain be the active window,
    or the previous window in the chain if there is no next window. */
-extern void window_delete_window (WINDOW *window);
+void window_delete_window (WINDOW *window);
 
 /* Set WINDOW to display NODE. */
-extern void window_set_node_of_window (WINDOW *window, NODE *node);
+void window_set_node_of_window (WINDOW *window, NODE *node);
 
 /* Tell the window system that the size of the screen has changed.  This
    causes lots of interesting things to happen.  The permanent windows
    are resized, as well as every visible window.  You pass WIDTH and HEIGHT;
    the dimensions of the total screen size. */
-extern void window_new_screen_size (int width, int height);
+void window_new_screen_size (int width, int height);
 
 /* Change the height of WINDOW by AMOUNT.  This also automagically adjusts
    the previous and next windows in the chain.  If there is only one user
    window, then no change takes place. */
-extern void window_change_window_height (WINDOW *window, int amount);
+void window_change_window_height (WINDOW *window, int amount);
 
-extern void set_window_pagetop (WINDOW *window, int desired_top);
+void set_window_pagetop (WINDOW *window, int desired_top);
 
 /* Adjust the pagetop of WINDOW such that the cursor point will be visible. */
-extern void window_adjust_pagetop (WINDOW *window);
+void window_adjust_pagetop (WINDOW *window);
 
 /* Tile all of the windows currently displayed in the global variable
    WINDOWS.  If argument DO_INTERNALS is non-zero, tile windows displaying
    internal nodes as well. */
 #define DONT_TILE_INTERNALS 0
 #define TILE_INTERNALS      1
-extern void window_tile_windows (int style);
+void window_tile_windows (int style);
 
 /* Toggle the state of line wrapping in WINDOW.  This can do a bit of fancy
    redisplay. */
-extern void window_toggle_wrap (WINDOW *window);
+void window_toggle_wrap (WINDOW *window);
 
 /* For every window in CHAIN, set the flags member to have FLAG set. */
-extern void window_mark_chain (WINDOW *chain, int flag);
+void window_mark_chain (WINDOW *chain, int flag);
 
 /* For every window in CHAIN, clear the flags member of FLAG. */
-extern void window_unmark_chain (WINDOW *chain, int flag);
+void window_unmark_chain (WINDOW *chain, int flag);
 
 /* Make WINDOW start displaying at PERCENT percentage of its node. */
-extern void window_goto_percentage (WINDOW *window, int percent);
+void window_goto_percentage (WINDOW *window, int percent);
 
 /* Build a new node which has AP printed according to FORMAT as the
    contents. */
-extern NODE *build_message_node (const char *format, va_list ap);
+NODE *build_message_node (const char *format, va_list ap);
 
-extern NODE *format_message_node (const char *format, ...)
+NODE *format_message_node (const char *format, ...)
   TEXINFO_PRINTFLIKE(1,2);
 
 struct text_buffer;
-extern NODE *text_buffer_to_node (struct text_buffer *tb);
+NODE *text_buffer_to_node (struct text_buffer *tb);
 
 /* Make a message appear in the echo area, built from arguments formatted
    according to FORMAT.
 
    The message appears immediately.  If there was
    already a message appearing in the echo area, it is removed. */
-extern void window_message_in_echo_area (const char *format, ...)
+void window_message_in_echo_area (const char *format, ...)
   TEXINFO_PRINTFLIKE(1,2);
 
-extern void vwindow_message_in_echo_area (const char *format, va_list ap);
+void vwindow_message_in_echo_area (const char *format, va_list ap);
 
-extern void free_echo_area (void);
+void free_echo_area (void);
 
 /* Place a temporary message in the echo area built from arguments
    formatted as per FORMAT.
@@ -206,34 +206,29 @@
    The message appears immediately, but does not destroy
    any existing message.  A future call to unmessage_in_echo_area ()
    restores the old contents. */
-extern void message_in_echo_area (const char *format, ...)
+void message_in_echo_area (const char *format, ...)
   TEXINFO_PRINTFLIKE(1,2);
 
-extern void unmessage_in_echo_area (void);
+void unmessage_in_echo_area (void);
 
 /* Clear the echo area, removing any message that is already present.
    The echo area is cleared immediately. */
-extern void window_clear_echo_area (void);
+void window_clear_echo_area (void);
 
 /* Return the index of the line containing point. */
-extern int window_line_of_point (WINDOW *window);
+int window_line_of_point (WINDOW *window);
 
 /* Get and return the printed column offset of the cursor in this window. */
-extern int window_get_cursor_column (WINDOW *window);
+int window_get_cursor_column (WINDOW *window);
 
-extern size_t process_node_text
-        (WINDOW *win, char *start,
-         int (*fun) (WINDOW *, size_t, size_t, size_t, char *,
-                    size_t, size_t));
+void window_compute_line_map (WINDOW *win);
 
-extern void window_compute_line_map (WINDOW *win);
+int window_point_to_column (WINDOW *win, long point, long *np);
 
-extern int window_point_to_column (WINDOW *win, long point, long *np);
+void window_line_map_init (WINDOW *win);
 
-extern void window_line_map_init (WINDOW *win);
+long window_log_to_phys_line (WINDOW *window, long ln);
 
-extern long window_log_to_phys_line (WINDOW *window, long ln);
-
 void calculate_line_starts (WINDOW *window);
 
 




reply via email to

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