{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1745989164,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"93f57ae9538bf65fc1106c5a22437e17",
"commit": {"type":"commit",
"time": 1699428438,
"time_ofs": 0,
"oid_tree": { "oid": "366e12ce50df025af35a3c9af9d7b407fef252c9", "alias": []},
"oid":{ "oid": "48e09ddf51ea014a60d666f8eb780cd801c0d4b5", "alias": []},
"msg": "clean: pedantic: remove repeated typedefs",
"sig_commit": { "git_time": { "time": 1699428438, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1699428392, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "clean: pedantic: remove repeated typedefs\n\nhttps://github.com/warmcat/libwebsockets/issues/3002\n"
,
"diff": "diff --git a/include/libwebsockets/lws-dlo.h b/include/libwebsockets/lws-dlo.h\nindex f19aac4..57767fa 100644\n--- a/include/libwebsockets/lws-dlo.h\n+++ b/include/libwebsockets/lws-dlo.h\n@@ -24,6 +24,9 @@\n * lws display_list and display_list objects (dlo)\n */\n \n+#if !defined(__LWS_DLO_H__)\n+#define __LWS_DLO_H__\n+\n #include \u003cstdint.h\u003e\n \n struct lws_display_render_state;\n@@ -267,8 +270,6 @@ typedef struct {\n \tchar\t\t\t\tfailed;\n } lws_dlo_image_t;\n \n-typedef struct lws_display_state lws_display_state_t;\n-\n typedef struct lws_displaylist {\n \tlws_dll2_owner_t\t\tdl;\n \tstruct lws_display_state \t*ds;\n@@ -287,7 +288,7 @@ typedef struct lws_display_render_stack {\n \n typedef struct lws_display_render_state {\n \tlws_sorted_usec_list_t\t\tsul; /* return to event loop statefully */\n-\tlws_display_state_t\t\t*lds; /* optional, if using lws_display */\n+\tstruct lws_display_state\t*lds; /* optional, if using lws_display */\n \n \tlws_dll2_owner_t\t\tids;\n \n@@ -460,13 +461,11 @@ typedef struct {\n LWS_VISIBLE LWS_EXTERN int\n lws_dlo_ss_create(lws_dlo_ss_create_info_t *i, lws_dlo_t **pdlo);\n \n-typedef struct lhp_ctx lhp_ctx_t;\n-\n LWS_VISIBLE LWS_EXTERN int\n lws_dlo_ss_find(struct lws_context *cx, const char *url, lws_dlo_image_t *u);\n \n LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t\n-lhp_displaylist_layout(lhp_ctx_t *ctx, char reason);\n+lhp_displaylist_layout(struct lhp_ctx *ctx, char reason);\n \n #define lws_dlo_image_width(_u) ((_u)-\u003efailed ? -1 : \u005c\n \t\t((_u)-\u003etype \u003d\u003d LWSDLOSS_TYPE_JPEG ? \u005c\n@@ -522,3 +521,4 @@ LWS_VISIBLE LWS_EXTERN void\n lws_dlo_file_destroy(struct lws_context *cx);\n \n LWS_VISIBLE extern const struct lws_plat_file_ops lws_dlo_fops;\n+#endif\n","s":{"c":1745989164,"u": 6909}}
],"g": 7797,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}