Add some prototypes for Mac, but a bug where "db" was used by not initialied to anything.

This commit is contained in:
rjc%netscape.com 1998-08-06 01:15:04 +00:00
Родитель 7ef39f6eef
Коммит f15c6bb16c
2 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -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,7 +349,7 @@ PRBool implicitDomainURL (char* url);
PRBool domainMatches (char *dom, char *url);
void nextDomain (char* dom, size_t *n);
PRBool relatedLinksEnabledURL (char* url);
void cleanupInt (HT_Pane htPane, HT_URLSiteMapAssoc *nsmp, RDF_Resource parent);
HT_Pane newTemplatePane(char* templateName);
void PaneDeleteSBPCleanup (HT_Pane htPane);