DEADSOFTWARE

update copyrights
[flatwaifu.git] / src / sdlmixer / sound.c
index ddacddf2497ff55556609a01a2303242de686649..ec27e45f373387512c6e2422220d4c5866ee63a6 100644 (file)
@@ -1,3 +1,18 @@
+/* Copyright (C) 2020 SovietPony
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3 of the License ONLY.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include "glob.h"
 #include "sound.h"
 #include "music.h"
@@ -105,9 +120,7 @@ static int sound_menu_handler (menu_msg_t *msg, const menu_t *m, void *data, int
 }
 
 const menu_t *S_menu (void) {
-  static const menu_t m = {
-    NULL, &sound_menu_handler
-  };
+  static const menu_t m = { sound_menu_handler };
   return &m;
 }