зеркало из https://github.com/mozilla/pjs.git
Add some prototypes for Mac, but a bug where "db" was used by not initialied to anything.
This commit is contained in:
Родитель
cf4a94f812
Коммит
d831c1a0cd
|
@ -843,9 +843,9 @@ void
|
|||
sortNodes(HT_View view, HT_Resource parent, HT_Resource *children, uint32 numChildren)
|
||||
{
|
||||
RDF_BT containerType;
|
||||
PRBool descendingFlag, sortChanged = false;
|
||||
void *sortToken;
|
||||
uint32 sortTokenType;
|
||||
PRBool descendingFlag = false, sortChanged = false;
|
||||
void *sortToken = NULL;
|
||||
uint32 sortTokenType = 0;
|
||||
uint32 startIndex, loop;
|
||||
|
||||
XP_ASSERT(view != NULL);
|
||||
|
@ -1224,7 +1224,7 @@ HT_PaneFromURL(char *url, HT_Notification n, PRBool autoFlush, int32 param_count
|
|||
char** param_names, char** param_values)
|
||||
{
|
||||
HT_Pane pane = NULL;
|
||||
RDF db;
|
||||
RDF db = NULL;
|
||||
RDF_Resource r;
|
||||
char *dbstr[2];
|
||||
char* dburl = getBaseURL(url);
|
||||
|
|
|
@ -349,9 +349,9 @@ PRBool implicitDomainURL (char* url);
|
|||
PRBool domainMatches (char *dom, char *url);
|
||||
void nextDomain (char* dom, size_t *n);
|
||||
PRBool relatedLinksEnabledURL (char* url);
|
||||
|
||||
HT_Pane newTemplatePane(char* templateName);
|
||||
void PaneDeleteSBPCleanup (HT_Pane htPane);
|
||||
void cleanupInt (HT_Pane htPane, HT_URLSiteMapAssoc *nsmp, RDF_Resource parent);
|
||||
HT_Pane newTemplatePane(char* templateName);
|
||||
void PaneDeleteSBPCleanup (HT_Pane htPane);
|
||||
|
||||
XP_END_PROTOS
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче