/*****************************************************************************/
/* */
-/* objdata.c */
+/* objdata.c */
/* */
-/* Handling object file data for the ar65 archiver */
+/* Handling object file data for the ar65 archiver */
/* */
/* */
/* */
/*****************************************************************************/
-/* Data */
+/* Data */
/*****************************************************************************/
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
ObjData* O = xmalloc (sizeof (ObjData));
/* Initialize the data */
- O->Name = 0;
+ O->Name = 0;
- O->Flags = 0;
- O->MTime = 0;
- O->Start = 0;
- O->Size = 0;
+ O->Flags = 0;
+ O->MTime = 0;
+ O->Start = 0;
+ O->Size = 0;
O->Strings = EmptyCollection;
O->Exports = EmptyCollection;
ObjData* O = CollAtUnchecked (&ObjPool, I);
/* Did we find it? */
- if (strcmp (O->Name, Module) == 0) {
- return O;
- }
+ if (strcmp (O->Name, Module) == 0) {
+ return O;
+ }
}
return 0;
}
ObjData* O = CollAtUnchecked (&ObjPool, I);
/* Did we find it? */
- if (strcmp (O->Name, Module) == 0) {
+ if (strcmp (O->Name, Module) == 0) {
- /* Free the entry */
+ /* Free the entry */
CollDelete (&ObjPool, I);
- FreeObjData (O);
+ FreeObjData (O);
- /* Done */
- return;
- }
+ /* Done */
+ return;
+ }
}
/* Not found! */