Changeset 15311


Ignore:
Timestamp:
04/17/12 18:22:35 (11 years ago)
Author:
nit
Message:

[titan] fix networkbrowser and comp warnings

Location:
titan
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/networkbrowser/networkbrowser.h

    r15268 r15311  
    664664void getnetworkbrowser_dns(struct inetwork* net, struct menulist** mlist)
    665665{
     666        int i = 0;
    666667        netinfo* nInfo;
    667668        char *tmpstr = NULL, *s = NULL;
    668669
    669         if(net == NULL || mlist == NULL) return NULL;
     670        if(net == NULL || mlist == NULL) return;
    670671
    671672        s = ostrcat(s, net->ip, 1, 0);
     
    704705void getnetworkbrowser_cifs(struct menulist** mlist, char* s, char* r, char* u, char* p)
    705706{
     707        int i = 0;
    706708        char* tmpstr = NULL;
    707709        shareinfo* sInfo;
     
    741743        char* tmpstr = NULL;
    742744        nfsinfo* nfsInfo;
    743         int err = 0;
     745        int i = 0, err = 0;
    744746
    745747        if(s == NULL || r == NULL || mlist == NULL) return;
  • titan/titan/epg.h

    r15295 r15311  
    12951295                if(nolongdesc == 0 && epgnode->desc != NULL)
    12961296                {
    1297                         ret = zip(epgnode->desc, strlen(epgnode->desc) + 1, &zbuf, &zlen, 1);
     1297                        ret = ozip(epgnode->desc, strlen(epgnode->desc) + 1, &zbuf, &zlen, 1);
    12981298                        if(ret == 0)
    12991299                        {
  • titan/titan/global.h

    r15299 r15311  
    20002000}
    20012001
    2002 int zip(char* inbuf, int inlen, char** outbuf, int* outlen, int level)
     2002int ozip(char* inbuf, int inlen, char** outbuf, int* outlen, int level)
    20032003{
    20042004        int ret = 0;
  • titan/titan/header.h

    r15310 r15311  
    4343int ipkg_install(const char* package);
    4444int ipkg_remove(const char* package, int purge);
    45 char* ipk_listbox(char* defaultstr, char* str, char* skinname, char* skintitle, char* skinpath, int showpng);
     45struct menulist* ipkmenulist(struct menulist* mlist, char* paramskinname, char* skintitle, char* paramskinpath, char* section, int showpng, int flag);
     46int ipkg_list_installed(void);
    4647
    4748//frontenddev.h
     
    329330struct menulist* addmenulist(struct menulist** mlist, char* name, char* text, char* pic, int deaktiv, int defaultentry);
    330331struct menulist* menulistbox(struct menulist* mlist, char* paramskinname, char* skintitle, char* paramskinpath, char* defaultpic, int showpng, int flag);
     332struct menulist* menulistboxext(struct menulist* mlist, char* paramskinname, char* skintitle, char* paramskinpath, char* defaultpic, int showpng, int* rcreturn, int flag);
    331333void setmenulistdefault(struct menulist* mlist, char* defaultentry);
     334void changemenulistparam(struct menulist* mlist, char* param, char* param1);
    332335
    333336//skinfunc.h
     
    336339
    337340//skin.h
     341void calcautoscale(int width, int height, int mwidth, int mheight, int* scalewidth, int* scaleheight);
    338342void blitscale(int posx, int posy, int width, int height, int scalewidth, int scaleheight, int flag);
    339343unsigned char* scale(unsigned char* buf, int width, int height, int channels, int newwidth, int newheight, int free1);
     
    420424char* string_strip_whitechars(char *text);
    421425int ounzip(char* inbuf, int inlen, char** outbuf, int* outlen, int maxbuf, int flag);
     426int ozip(char* inbuf, int inlen, char** outbuf, int* outlen, int level);
    422427int delallfiles(char* dir, char* ext);
    423428unsigned long getfilecount(char* dir);
  • titan/titan/ipkg.h

    r15261 r15311  
    354354                if(ostrcmp("97.74.32.10", ip) == 0)
    355355                {
    356                         if(ostrcmp(src, "//97.74.32.10/svn/ipk/sh4/titan") != 0)                 
     356                        if(ostrcmp((char*)src, "//97.74.32.10/svn/ipk/sh4/titan") != 0)         
    357357                        {
    358358                                textbox(_("Message"), _("check your Secret Feed !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);               
  • titan/titan/mipselport.h

    r15306 r15311  
    106106                char* zbuf = NULL;
    107107                blitscale(0, 0, fbnode->width, fbnode->height, 440, 330, 1);
    108                 ret = zip((char*)accelfb->fb, 440 * 330 * 4, &zbuf, &zlen, 1);
     108                ret = ozip((char*)accelfb->fb, 440 * 330 * 4, &zbuf, &zlen, 1);
    109109
    110110                if(ret == 0)
  • titan/titan/sh4port.h

    r15306 r15311  
    3333                char* zbuf = NULL;
    3434                blitscale(0, 0, fbnode->width, fbnode->height, 440, 330, 1);
    35                 ret = zip((char*)accelfb->fb, 440 * 330 * 4, &zbuf, &zlen, 1);
     35                ret = ozip((char*)accelfb->fb, 440 * 330 * 4, &zbuf, &zlen, 1);
    3636
    3737                if(ret == 0)
Note: See TracChangeset for help on using the changeset viewer.