]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
ssl_util: fix prototype style
authorAntonio Quartulli <a@unstable.cc>
Thu, 18 Aug 2022 08:05:50 +0000 (10:05 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 18 Aug 2022 14:16:21 +0000 (16:16 +0200)
Function prototypes should have the return type on the same line as the
function name itself. Fix this in ssl_util.h.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220818080550.177771-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24983.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_util.h

index f38294c195eb427eecf2f8dcc9c8bf4183953e88..3695ca3c3fb5861e950ded2db17c18dd6121659a 100644 (file)
  * @return  The content of the variable as NULL terminated string or NULL if the
  *          variable cannot be found.
  */
-char *
-extract_var_peer_info(const char *peer_info,
-                      const char *var,
-                      struct gc_arena *gc);
+char *extract_var_peer_info(const char *peer_info, const char *var,
+                            struct gc_arena *gc);
 
 /**
  * Extracts the IV_PROTO variable and returns its value or 0
@@ -52,8 +50,7 @@ extract_var_peer_info(const char *peer_info,
  *
  * @param peer_info     peer info string to search for IV_PROTO
  */
-unsigned int
-extract_iv_proto(const char *peer_info);
+unsigned int extract_iv_proto(const char *peer_info);
 
 /**
  * Takes a locally produced OCC string for TLS server mode and modifies as
@@ -67,6 +64,6 @@ extract_iv_proto(const char *peer_info);
  * @param gc        gc_arena to allocate the returned string in
  * @return          the modified string or options on error
  */
-const char *
-options_string_compat_lzo(const char *options, struct gc_arena *gc);
+const char *options_string_compat_lzo(const char *options, struct gc_arena *gc);
+
 #endif