Remove extra lines

This commit is contained in:
Olof hagsand 2024-12-05 17:35:05 +01:00
parent 3332dfef20
commit 69eaf98913
72 changed files with 1 additions and 98 deletions

View file

@ -368,7 +368,6 @@ field_values : field_vchars
| { $$ = NULL; _PARSE_DEBUG("field-values -> "); }
;
field_vchars : field_vchars RWS VCHARS
{
if (($$ = clixon_string_del_join($1, " ", $3)) == NULL) YYABORT;
@ -393,4 +392,3 @@ ows : RWS
;
%%

View file

@ -35,7 +35,6 @@
* Limited static http data service embedded in restconf code
*/
#ifdef HAVE_CONFIG_H
#include "clixon_config.h" /* generated by config & autoconf */
#endif

View file

@ -82,4 +82,3 @@ int restconf_param_set(clixon_handle h, const char *param, char *val);
#ifdef __cplusplus
} /* extern "C" */
#endif

View file

@ -67,7 +67,6 @@
#include "restconf_lib.h"
#include "restconf_api.h" /* Virtual api */
/*! HTTP headers done, if there is a message body coming next
*
* @param[in] req Fastcgi request handle

View file

@ -204,4 +204,3 @@ restconf_get_indata(void *req0)
done:
return cb;
}

View file

@ -34,9 +34,7 @@
*
* Return errors
* @see RFC 7231 Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
* "api-path" is "URI-encoded path expression" definition in RFC8040 3.5.3
* "api-path" is "URI-encoded path expression" definition in RFC8040 3.5.3
*/
#ifdef HAVE_CONFIG_H

View file

@ -51,5 +51,4 @@ int restconf_notimplemented(clixon_handle h, void *req, int pretty, restconf_med
int api_return_err(clixon_handle h, void *req, cxobj *xerr, int pretty, restconf_media media, int code0);
int api_return_err0(clixon_handle h, void *req, cxobj *xerr, int pretty, restconf_media media, int code0);
#endif /* _RESTCONF_ERR_H_ */

View file

@ -930,4 +930,3 @@ restconf_socket_init(const char *netns0,
clixon_debug(CLIXON_DBG_RESTCONF, "retval:%d", retval);
return retval;
}

View file

@ -427,7 +427,6 @@ restconf_ssl_context_configure(clixon_handle h,
SSL_CTX_set_verify_depth(ctx, VERIFY_DEPTH+1);
}
X509_STORE_set_flags(SSL_CTX_get_cert_store(ctx), 0);
SSL_CTX_set_session_id_context(ctx, (void *)&session_id_context, sizeof(session_id_context));

View file

@ -824,4 +824,3 @@ api_data_delete(clixon_handle h,
clixon_debug(CLIXON_DBG_RESTCONF, "retval:%d", retval);
return retval;
}

View file

@ -795,4 +795,3 @@ api_operations_get(clixon_handle h,
xml_free(xt);
return retval;
}

View file

@ -36,7 +36,6 @@
* Restconf YANG PATCH implementation (RFC8072)
*/
#ifdef HAVE_CONFIG_H
#include "clixon_config.h" /* generated by config & autoconf */
#endif

View file

@ -36,7 +36,6 @@
* Restconf YANG PATCH implementation (RFC8072)
*/
#ifndef _RESTCONF_METHODS_PATCH_H_
#define _RESTCONF_METHODS_PATCH_H_

View file

@ -36,7 +36,6 @@
* From RFC 8040 Section 4.4. POST
*/
#ifdef HAVE_CONFIG_H
#include "clixon_config.h" /* generated by config & autoconf */
#endif

View file

@ -1870,4 +1870,3 @@ restconf_socket_extract(clixon_handle h,
free(reason);
return retval;
}

View file

@ -189,8 +189,6 @@ int restconf_callhome_timer(restconf_socket *rsock, int status);
int restconf_socket_extract(clixon_handle h, cxobj *xs, cvec *nsc, restconf_socket *rsock,
char **namespace, char **address, char **addrtype, uint16_t *port);
#endif /* _RESTCONF_NATIVE_H_ */
#ifdef __cplusplus

View file

@ -34,7 +34,6 @@
* Generic restconf root handlers eg for /restconf /.well-known, etc
*/
#ifdef HAVE_CONFIG_H
#include "clixon_config.h" /* generated by config & autoconf */
#endif
@ -641,4 +640,3 @@ api_root_restconf(clixon_handle h,
free(path);
return retval;
}