diff minijss/jloadxm.c @ 1256:d88d5f88b77a

Rename variable.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Mar 2015 17:43:09 +0200
parents 47d8e5e0e592
children 60dc14a2e4c5
line wrap: on
line diff
--- 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");