Kaydet (Commit) dfc643a5 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

loplugin:unreffun

Change-Id: If538d5d5347f58e18869cab2b687af26a39a89eb
üst b472cced
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#include "splashx.h"
#ifdef ENABLE_QUICKSTART_LIBPNG #ifdef ENABLE_QUICKSTART_LIBPNG
#include <X11/Xlib.h> #include <X11/Xlib.h>
...@@ -32,8 +34,6 @@ ...@@ -32,8 +34,6 @@
#include <rtl/bootstrap.h> #include <rtl/bootstrap.h>
#include <rtl/ustrbuf.h> #include <rtl/ustrbuf.h>
#include "splashx.h"
typedef struct { typedef struct {
unsigned char b, g, r; unsigned char b, g, r;
} color_t; } color_t;
...@@ -723,8 +723,6 @@ struct splash* splash_create(rtl_uString* pAppPath, int argc, char** argv) ...@@ -723,8 +723,6 @@ struct splash* splash_create(rtl_uString* pAppPath, int argc, char** argv)
#else /* not ENABLE_QUICKSTART_LIBPNG */ #else /* not ENABLE_QUICKSTART_LIBPNG */
#include <rtl/ustrbuf.h>
struct splash struct splash
{ {
}; };
......
...@@ -10,10 +10,14 @@ ...@@ -10,10 +10,14 @@
#define INCLUDED_DESKTOP_UNX_SOURCE_SPLASHX_H #define INCLUDED_DESKTOP_UNX_SOURCE_SPLASHX_H
#include <rtl/ustring.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
struct splash;
struct splash* splash_create(rtl_uString* pAppPath, int argc, char** argv); struct splash* splash_create(rtl_uString* pAppPath, int argc, char** argv);
void splash_destroy(struct splash* splash); void splash_destroy(struct splash* splash);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment