Loading xpcom/typelib/xpidl/xpidl.h +0 −4 Original line number Diff line number Diff line Loading @@ -49,11 +49,7 @@ #include <glib.h> #include <string.h> /* After glib.h to avoid warnings about shadowing 'index'. */ #ifndef XP_MAC #include <libIDL/IDL.h> #else #include <IDL.h> #endif #include <xpt_struct.h> Loading xpcom/typelib/xpidl/xpidl_util.c +0 −12 Original line number Diff line number Diff line Loading @@ -58,18 +58,6 @@ xpidl_malloc(size_t nbytes) return p; } #ifdef XP_MAC static char *strdup(const char *c) { char *newStr = malloc(strlen(c) + 1); if (newStr) { strcpy(newStr, c); } return newStr; } #endif char * xpidl_strdup(const char *s) { Loading xpcom/typelib/xpt/tests/SimpleTypeLib.c +0 −8 Original line number Diff line number Diff line Loading @@ -86,14 +86,6 @@ main(int argc, char **argv) td_void.prefix.flags = TD_VOID; #ifdef XP_MAC if (argc == 0) { static char* args[] = { "SimpleTypeLib", "simple.xpt", NULL }; argc = 2; argv = args; } #endif if (argc != 2) { fprintf(stderr, "Usage: %s <filename.xpt>\n" " Creates a simple typelib file.\n", argv[0]); Loading Loading
xpcom/typelib/xpidl/xpidl.h +0 −4 Original line number Diff line number Diff line Loading @@ -49,11 +49,7 @@ #include <glib.h> #include <string.h> /* After glib.h to avoid warnings about shadowing 'index'. */ #ifndef XP_MAC #include <libIDL/IDL.h> #else #include <IDL.h> #endif #include <xpt_struct.h> Loading
xpcom/typelib/xpidl/xpidl_util.c +0 −12 Original line number Diff line number Diff line Loading @@ -58,18 +58,6 @@ xpidl_malloc(size_t nbytes) return p; } #ifdef XP_MAC static char *strdup(const char *c) { char *newStr = malloc(strlen(c) + 1); if (newStr) { strcpy(newStr, c); } return newStr; } #endif char * xpidl_strdup(const char *s) { Loading
xpcom/typelib/xpt/tests/SimpleTypeLib.c +0 −8 Original line number Diff line number Diff line Loading @@ -86,14 +86,6 @@ main(int argc, char **argv) td_void.prefix.flags = TD_VOID; #ifdef XP_MAC if (argc == 0) { static char* args[] = { "SimpleTypeLib", "simple.xpt", NULL }; argc = 2; argv = args; } #endif if (argc != 2) { fprintf(stderr, "Usage: %s <filename.xpt>\n" " Creates a simple typelib file.\n", argv[0]); Loading