# HG changeset patch # User Matti Hamalainen # Date 1425915789 -7200 # Node ID d88d5f88b77aaf241ef756e6cae655b4a6104e73 # Parent f9bf71071f0b90af6242b662d4f705a2c0268431 Rename variable. diff -r f9bf71071f0b -r d88d5f88b77a minijss/jloadjss.c --- a/minijss/jloadjss.c Sun Mar 08 01:59:52 2015 +0200 +++ b/minijss/jloadjss.c Mon Mar 09 17:43:09 2015 +0200 @@ -310,13 +310,13 @@ #endif -int jssLoadJSSMOD(DMResource *inFile, JSSModule **ppModule, BOOL probe) +int jssLoadJSSMOD(DMResource *inFile, JSSModule **pmodule, BOOL probe) { JSSModule *module; JSSMODHeader jssH; int index, ret = DMERR_OK; - *ppModule = NULL; + *pmodule = NULL; // Check the JSSMOD header if (!dmf_read_str(inFile, &jssH.idMagic, sizeof(jssH.idMagic)) || @@ -374,7 +374,7 @@ } // Allocate the module - if ((*ppModule = module = jssAllocateModule()) == NULL) + if ((*pmodule = module = jssAllocateModule()) == NULL) { JSSERROR(DMERR_MALLOC, DMERR_MALLOC, "Could not allocate memory for module structure.\n"); diff -r f9bf71071f0b -r d88d5f88b77a minijss/jloadxm.c --- a/minijss/jloadxm.c Sun Mar 08 01:59:52 2015 +0200 +++ b/minijss/jloadxm.c Mon Mar 09 17:43:09 2015 +0200 @@ -881,15 +881,15 @@ /* Load XM-format module from given file-stream */ -int jssLoadXM(DMResource *inFile, JSSModule **ppModule, BOOL probe) +int jssLoadXM(DMResource *inFile, JSSModule **pmodule, BOOL probe) { JSSModule *module; XMHeader xmH; int index, ret = DMERR_OK; - assert(ppModule != NULL); + assert(pmodule != NULL); assert(inFile != NULL); - *ppModule = NULL; + *pmodule = NULL; // Try to get the XM-header if (!dmf_read_str(inFile, &xmH.idMagic, sizeof(xmH.idMagic)) || @@ -1014,7 +1014,7 @@ return DMERR_OK; // Okay, allocate a module structure - if ((*ppModule = module = jssAllocateModule()) == NULL) + if ((*pmodule = module = jssAllocateModule()) == NULL) { JSSERROR(DMERR_MALLOC, DMERR_MALLOC, "Could not allocate memory for module structure.\n");