mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01:00
fix some build warnings.
2008-10-22 Lucas Rocha <lucasr@gnome.org> * girepository/girmodule.c, girepository/gtypelib.c, girepository/girparser.[ch]: fix some build warnings. svn path=/trunk/; revision=783
This commit is contained in:
parent
04c5badd69
commit
9a32d9b093
@ -74,7 +74,7 @@ g_ir_module_build_typelib (GIrModule *module,
|
|||||||
{
|
{
|
||||||
GTypelib *typelib;
|
GTypelib *typelib;
|
||||||
gsize length;
|
gsize length;
|
||||||
gint i;
|
guint i;
|
||||||
GList *e;
|
GList *e;
|
||||||
Header *header;
|
Header *header;
|
||||||
DirEntry *entry;
|
DirEntry *entry;
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
#include "girparser.h"
|
||||||
#include "girmodule.h"
|
#include "girmodule.h"
|
||||||
#include "girnode.h"
|
#include "girnode.h"
|
||||||
#include "gtypelib.h"
|
#include "gtypelib.h"
|
||||||
|
@ -26,8 +26,9 @@
|
|||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
GList *g_ir_parse_string (const gchar *buffer,
|
GList *g_ir_parse_string (const gchar *namespace,
|
||||||
const gchar *const *includes,
|
const gchar *const *includes,
|
||||||
|
const gchar *buffer,
|
||||||
gssize length,
|
gssize length,
|
||||||
GError **error);
|
GError **error);
|
||||||
GList *g_ir_parse_file (const gchar *filename,
|
GList *g_ir_parse_file (const gchar *filename,
|
||||||
|
@ -54,7 +54,7 @@ validate_interface_blob (ValidateContext *ctx,
|
|||||||
guint32 offset,
|
guint32 offset,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
DirEntry *
|
static DirEntry *
|
||||||
get_dir_entry_checked (GTypelib *typelib,
|
get_dir_entry_checked (GTypelib *typelib,
|
||||||
guint16 index,
|
guint16 index,
|
||||||
GError **error)
|
GError **error)
|
||||||
@ -876,7 +876,7 @@ validate_constant_blob (GTypelib *typelib,
|
|||||||
guint32 offset,
|
guint32 offset,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gint value_size[] = {
|
guint value_size[] = {
|
||||||
0, /* VOID */
|
0, /* VOID */
|
||||||
4, /* BOOLEAN */
|
4, /* BOOLEAN */
|
||||||
1, /* INT8 */
|
1, /* INT8 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user