diff --git a/ext2sim/ext2sim.c b/ext2sim/ext2sim.c index af3f2d4b..e19f8e3c 100644 --- a/ext2sim/ext2sim.c +++ b/ext2sim/ext2sim.c @@ -1741,34 +1741,6 @@ Dev *dev; : NOT_PARALLEL \ ) -/* - * ---------------------------------------------------------------------------- - * - * mergeAttr -- - * Macro to merge two attribute strings - * - * Results: - * The merged strings - * - * Side effects: - * Might allocate and free memory. - * - * ---------------------------------------------------------------------------- - */ -#define mergeAttr(a1, a2) { \ - if ( a1 == NULL ) a1 = a2 ; \ - else { \ - char *t; \ - int l1 = strlen(a1); \ - int l2 = strlen(a2); \ - t = (char *) mallocMagic((unsigned) (l1+l2)+1); \ - t = (char *) strcat(a1,a2); \ - freeMagic(a1); \ - a1 = t ; \ - } \ -} - - /* * ---------------------------------------------------------------------------- *