Does anyone know how to avoid a data segment overflow caused by the local data for uncalled functions being permanently allocated? Better still to prevent such functions being included in the final output at all? I am using Keil C51 V6. Thanks Simon Fisher