Error reported by checkpatch.pl.
Signed-off-by: Dimitri Papadopoulos <3350651+DimitriPapadopoulos@users.noreply.gitlab.com>
#include "openconnect-internal.h"
-static struct oc_auth_form *plain_auth_form(void) {
+static struct oc_auth_form *plain_auth_form(void)
+{
struct oc_auth_form *form;
struct oc_form_opt *opt, *opt2, *opt3;
#define XCAST(x) ((const xmlChar *)(x))
-static struct oc_auth_form *plain_auth_form(void) {
+static struct oc_auth_form *plain_auth_form(void)
+{
struct oc_auth_form *form;
struct oc_form_opt *opt, *opt2;
}
#ifndef _WIN32
-static int background_self(struct openconnect_info *vpninfo, char *pidfile) {
+static int background_self(struct openconnect_info *vpninfo, char *pidfile)
+{
FILE *fp = NULL;
int pid;
}
#endif /* _WIN32 */
-static void fully_up_cb(void *_vpninfo) {
+static void fully_up_cb(void *_vpninfo)
+{
struct openconnect_info *vpninfo = _vpninfo;
print_connection_info(vpninfo);
"Discard-Request",
};
-inline static const char *proto_names(uint16_t proto) {
+inline static const char *proto_names(uint16_t proto)
+{
static char unknown[21];
switch (proto) {
return ret;
}
-static inline void add_ppp_header(struct pkt *p, struct oc_ppp *ppp, int proto) {
+static inline void add_ppp_header(struct pkt *p, struct oc_ppp *ppp, int proto)
+{
unsigned char *ph = p->data;
/* XX: store PPP header, in reverse */
*--ph = proto & 0xff;