Mercurial > hg > dmlib
diff minijss/jloadjss.c @ 1256:d88d5f88b77a
Rename variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Mar 2015 17:43:09 +0200 |
parents | f9bf71071f0b |
children | 60dc14a2e4c5 |
line wrap: on
line diff
--- 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");