]> diplodocus.org Git - nmh/commitdiff
Don't have `static' of a function definition on its own line.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 2 Nov 2017 01:12:17 +0000 (01:12 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Thu, 2 Nov 2017 01:12:17 +0000 (01:12 +0000)
Join it to the next line that species the return type.

uip/folder.c
uip/mhstoresbr.c
uip/replsbr.c
uip/sendsbr.c

index c853086..4b8c12f 100644 (file)
@@ -96,8 +96,7 @@ static void readonly_folders (void);
  * Function for printing error message if folder does not exist with
  * -nocreate.
  */
-static
-void
+static void
 nonexistent_folder (int status)
 {
     NMH_UNUSED (status);
index 6bf9790..116b159 100644 (file)
@@ -1127,8 +1127,7 @@ copy_some_headers (FILE *out, CT ct)
 /******************************************************************************/
 /* -clobber support */
 
-static
-enum clobber_policy_t
+static enum clobber_policy_t
 clobber_policy (const char *value)
 {
   if (value == NULL  ||  ! strcasecmp (value, "always")) {
index 3fa67d2..2f26c37 100644 (file)
@@ -484,8 +484,7 @@ replfilter (FILE *in, FILE *out, char *filter, int fmtproc)
 }
 
 
-static
-char *
+static char *
 fix_addresses (char *str)
 {
     char *fixed_str = NULL;
index 5a841b0..974bf00 100644 (file)
@@ -738,8 +738,7 @@ oops:
 }
 
 
-static
-void
+static void
 handle_sendfrom(char **vec, int *vecp, char *draft, const char *auth_svc)
 {
     const char *addr, *host;
@@ -848,8 +847,7 @@ setup_oauth_params(char *vec[], int *vecp, const char *auth_svc,
 /*
  * Extract user and domain from From: header line in draft.
  */
-static
-int
+static int
 get_from_header_info(const char *filename, const char **addr, const char **host, const char **message)
 {
     struct stat st;
@@ -903,8 +901,7 @@ get_from_header_info(const char *filename, const char **addr, const char **host,
  * Get formatted information from header of a message.
  * Adapted from process_single_file() in uip/fmttest.c.
  */
-static
-const char *
+static const char *
 get_message_header_info(FILE *in, char *format)
 {
     int dat[5];
@@ -982,8 +979,7 @@ get_message_header_info(FILE *in, char *format)
  * If no -server passed in from profile or commandline, could use smtp.<svc>.com for gmail,
  * but that might not generalize for other svcs.
  */
-static
-void
+static void
 merge_profile_entry(const char *addr, const char *host, char *vec[], int *vecp)
 {
     char *addr_entry = concat("sendfrom-", addr, NULL);