X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=filebrowser%2Fselfile.c;h=860ed8b4e60727ffeff42b0cab973ea54c667e16;hb=b62693239eb893af0c242295d37f28ba84cd7c10;hp=91f39a9e1071f9f09fc72fa158bfeb7e4d5beaa9;hpb=0ea1b434ac6becf79c75d85ba27de5b89666a7c3;p=xboard.git diff --git a/filebrowser/selfile.c b/filebrowser/selfile.c index 91f39a9..860ed8b 100644 --- a/filebrowser/selfile.c +++ b/filebrowser/selfile.c @@ -61,6 +61,16 @@ extern int errno; #include #include "selfile.h" +#include "xstat.h" + +/* added missing prototypes */ +extern void SFdrawList(int,int); +extern void SFinitFont(); +extern void SFcreateGC(); +extern int SFchdir(char *); +extern void SFupdatePath(); +extern void SFsetText(char *); +extern char SFstatChar(struct stat*); #ifndef MAXPATHLEN #define MAXPATHLEN 1024 @@ -146,7 +156,7 @@ SFexposeList(w, n, event, cont) return; } - SFdrawList(n, SF_DO_NOT_SCROLL); + SFdrawList((int)n, SF_DO_NOT_SCROLL); } /* ARGSUSED */