fixed bug #697590
[fw/sdcc] / src / SDCCsymt.c
index 48f967919af18a7b616638d2019aa2eadd61adff..b160c7f7311a11933a8c9ae27482cf1f92849722 100644 (file)
@@ -645,23 +645,6 @@ mergeSpec (sym_link * dest, sym_link * src, char *name)
   return symlink;
 }
 
-/*------------------------------------------------------------------*/
-/* cloneSpec - copies the entire spec and returns a new spec        */
-/*------------------------------------------------------------------*/
-sym_link *
-cloneSpec (sym_link * src)
-{
-  sym_link *spec;
-
-  /* go thru chain till we find the specifier */
-  while (src && src->class != SPECIFIER)
-    src = src->next;
-
-  spec = newLink ();
-  memcpy (spec, src, sizeof (sym_link));
-  return spec;
-}
-
 /*------------------------------------------------------------------*/
 /* genSymName - generates and returns a name used for anonymous vars */
 /*------------------------------------------------------------------*/