Remove duplicate init and move sics dependency out of nwatch

This commit is contained in:
Douglas Clowes
2014-04-03 12:11:53 +11:00
parent 719fd7dc5a
commit f9bff7f4f2
3 changed files with 13 additions and 18 deletions

View File

@@ -320,8 +320,6 @@ int testLogCmd(SConnection *pCon, SicsInterp *pInter, void *pData,
}
void SiteInit(void) {
int NetWatchInit(void);
NetWatchInit();
#define INIT(F) { void F(void); F(); }
/* insert here initialization routines ... */
INIT(SctEmonInit);