]> granicus.if.org Git - vim/commitdiff
patch 9.0.0800: compiler complains about repeated typedef v9.0.0800
authorBram Moolenaar <Bram@vim.org>
Wed, 19 Oct 2022 18:24:48 +0000 (19:24 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 19 Oct 2022 18:24:48 +0000 (19:24 +0100)
Problem:    Compiler complains about repeated typedef.
Solution:   Remove one typedef.

src/sound.c
src/version.c

index f0f5ab0d11b51dcfe8541de8f023dee21a3de2a1..17ff78ba3acdb223c02606dd84bdc263aa2153bb 100644 (file)
@@ -17,7 +17,7 @@
 
 static long        sound_id = 0;
 
-typedef struct soundcb_S soundcb_T;
+// soundcb_T is typdef'ed in proto/sound.pro
 
 struct soundcb_S {
     callback_T snd_callback;
index c068ac3fed1894071baa3b5b7e0689b5b0991cd6..3ce579f0246c795fd713018c94997b3b7edbc2ea 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    800,
 /**/
     799,
 /**/