File tree 4 files changed +176
-176
lines changed
4 files changed +176
-176
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ typedef int DumpId;
248
248
* Function pointer prototypes for assorted callback methods.
249
249
*/
250
250
251
- typedef int (* DataDumperPtr ) (Archive * AH , void * userArg );
251
+ typedef int (* DataDumperPtr ) (Archive * AH , const void * userArg );
252
252
253
253
typedef void (* SetupWorkerPtrType ) (Archive * AH );
254
254
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ struct _tocEntry
382
382
int nDeps ; /* number of dependencies */
383
383
384
384
DataDumperPtr dataDumper ; /* Routine to dump data for object */
385
- void * dataDumperArg ; /* Arg for above routine */
385
+ const void * dataDumperArg ; /* Arg for above routine */
386
386
void * formatData ; /* TOC Entry data specific to file format */
387
387
388
388
/* working state while dumping/restoring */
@@ -421,7 +421,7 @@ typedef struct _archiveOpts
421
421
const DumpId * deps ;
422
422
int nDeps ;
423
423
DataDumperPtr dumpFn ;
424
- void * dumpArg ;
424
+ const void * dumpArg ;
425
425
} ArchiveOpts ;
426
426
#define ARCHIVE_OPTS (...) &(ArchiveOpts){__VA_ARGS__}
427
427
/* Called to add a TOC entry */
You can’t perform that action at this time.
0 commit comments