/* Splice a node into an existing openfilestruct. */
void splice_opennode(openfilestruct *begin, openfilestruct *newnode,
- openfilestruct *end)
+ openfilestruct *end)
{
newnode->next = end;
newnode->prev = begin;
/* This function now has an arg which refers to how much the statusbar
* (place) should be advanced, i.e. the new cursor pos. */
-char *input_tab(char *buf, int place, int *lastwastab, int *newplace, int *list)
+char *input_tab(char *buf, int place, int *lastwastab, int *newplace, int
+ *list)
{
/* Do TAB completion */
static int num_matches = 0, match_matches = 0;
}
/* Splice a node into an existing filestruct. */
-void splice_node(filestruct *begin, filestruct *newnode, filestruct *end)
+void splice_node(filestruct *begin, filestruct *newnode, filestruct
+ *end)
{
if (newnode != NULL) {
newnode->next = end;
/* Print one usage string to the screen, removes lots of duplicate
* strings to translate and takes out the parts that shouldn't be
* translatable (the flag names). */
-void print1opt(const char *shortflag, const char *longflag,
- const char *desc)
+void print1opt(const char *shortflag, const char *longflag, const char
+ *desc)
{
printf(" %s\t", shortflag);
if (strlen(shortflag) < 8)
void do_insertfile_void(void);
#ifdef ENABLE_MULTIBUFFER
openfilestruct *make_new_opennode(openfilestruct *prevnode);
-void splice_opennode(openfilestruct *begin, openfilestruct *newnode, openfilestruct *end);
+void splice_opennode(openfilestruct *begin, openfilestruct *newnode,
+ openfilestruct *end);
void unlink_opennode(const openfilestruct *fileptr);
void delete_opennode(openfilestruct *fileptr);
void free_openfilestruct(openfilestruct *src);
int append_slash_if_dir(char *buf, int *lastwastab, int *place);
char **username_tab_completion(char *buf, int *num_matches);
char **cwd_tab_completion(char *buf, int *num_matches);
-char *input_tab(char *buf, int place, int *lastwastab, int *newplace, int *list);
+char *input_tab(char *buf, int place, int *lastwastab, int *newplace,
+ int *list);
#endif
const char *tail(const char *foo);
#ifndef DISABLE_BROWSER
#endif
filestruct *make_new_node(filestruct *prevnode);
filestruct *copy_node(const filestruct *src);
-void splice_node(filestruct *begin, filestruct *newnode, filestruct *end);
+void splice_node(filestruct *begin, filestruct *newnode, filestruct
+ *end);
void unlink_node(const filestruct *fileptr);
void delete_node(filestruct *fileptr);
filestruct *copy_filestruct(const filestruct *src);
void free_filestruct(filestruct *src);
void renumber_all(void);
void renumber(filestruct *fileptr);
-void print1opt(const char *shortflag, const char *longflag,
- const char *desc);
+void print1opt(const char *shortflag, const char *longflag, const char
+ *desc);
void usage(void);
void version(void);
int no_help(void);
char *mallocstrcpy(char *dest, const char *src);
void new_magicline(void);
#ifndef NANO_SMALL
-void mark_order(const filestruct **top, size_t *top_x,
- const filestruct **bot, size_t *bot_x);
+void mark_order(const filestruct **top, size_t *top_x, const filestruct
+ **bot, size_t *bot_x);
#endif
#ifndef DISABLE_TABCOMP
int check_wildcard_match(const char *text, const char *pattern);
int get_escape_seq_kbinput(int *escape_seq, size_t es_len, int
*ignore_seq);
int get_escape_seq_abcd(int kbinput);
-int *get_verbatim_kbinput(WINDOW *win, int *verbatim_kbinput, size_t
- *verbatim_len, int allow_ascii);
+int *get_verbatim_kbinput(WINDOW *win, int *v_kbinput, size_t *v_len,
+ int allow_ascii);
int get_untranslated_kbinput(int kbinput, size_t position, int
allow_ascii
#ifndef NANO_SMALL
#ifndef NANO_SMALL
/* Set top_x and bot_x to the top and bottom x-coordinates of the mark,
* respectively, based on the locations of top and bot. */
-void mark_order(const filestruct **top, size_t *top_x,
- const filestruct **bot, size_t *bot_x)
+void mark_order(const filestruct **top, size_t *top_x, const filestruct
+ **bot, size_t *bot_x)
{
assert(top != NULL && top_x != NULL && bot != NULL && bot_x != NULL);
if ((current->lineno == mark_beginbuf->lineno && current_x > mark_beginx)
/* Read in a string of input characters (e.g. an escape sequence)
* verbatim. Store the string in v_kbinput and return the length
* of the string in v_len. Assume nodelay(win) is FALSE. */
-int *get_verbatim_kbinput(WINDOW *win, int *v_kbinput, size_t
- *v_len, int allow_ascii)
+int *get_verbatim_kbinput(WINDOW *win, int *v_kbinput, size_t *v_len,
+ int allow_ascii)
{
int kbinput;
size_t i = 0, v_newlen = 0;