From 1fdd8bc1859e3e23da1003e367cfd3b36c2f80e3 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 4 Oct 2024 11:18:16 +0100 Subject: [PATCH] K&R calmaInt.h: conversion to ANSI K&R obsolete syntax removal for C23 compatibility series --- calma/calmaInt.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/calma/calmaInt.h b/calma/calmaInt.h index a648c410..dfc739e3 100644 --- a/calma/calmaInt.h +++ b/calma/calmaInt.h @@ -227,19 +227,19 @@ typedef struct portlabel /* Other commonly used globals */ extern HashTable calmaLayerHash; extern int calmaElementIgnore[]; -extern CellDef *calmaFindCell(); +extern CellDef *calmaFindCell(char *name, bool *was_called, bool *predefined); /* (Added by Nishit, 8/18/2004--8/24/2004) */ -extern CellDef *calmaLookCell(); -extern void calmaWriteContacts(); -extern CellDef *calmaGetContactCell(); +extern CellDef *calmaLookCell(char *name); +extern void calmaWriteContacts(FILE *f); +extern CellDef *calmaGetContactCell(TileType type, bool lookOnly); extern bool calmaIsContactCell; -extern char *calmaRecordName(); -extern void calmaSkipSet(); -extern bool calmaParseUnits(); +extern char *calmaRecordName(int rtype); +extern void calmaSkipSet(int *skipwhat); +extern bool calmaParseUnits(void); -extern int compport(); +extern int compport(const void *one, const void *two); /* ------------------- Imports from CIF reading ----------------------- */