diff include/SDL_pixels.h @ 3555:7549b986ccb1

The SDL_PaletteWatch structure is really internal-only.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 13 Dec 2009 08:00:25 +0000
parents a54df8e52333
children f7b03b6838cb
line wrap: on
line diff
--- a/include/SDL_pixels.h	Sun Dec 13 06:21:22 2009 +0000
+++ b/include/SDL_pixels.h	Sun Dec 13 08:00:25 2009 +0000
@@ -237,13 +237,7 @@
 
 typedef struct SDL_Palette SDL_Palette;
 typedef int (*SDL_PaletteChangedFunc) (void *userdata, SDL_Palette * palette);
-
-typedef struct SDL_PaletteWatch
-{
-    SDL_PaletteChangedFunc callback;
-    void *userdata;
-    struct SDL_PaletteWatch *next;
-} SDL_PaletteWatch;
+typedef struct SDL_PaletteWatch SDL_PaletteWatch;
 
 struct SDL_Palette
 {