Index: generic/aolstub.c =================================================================== diff -u -r880487204ff2da18d2d25ebd727b9b4bbda86c8e -r92ab630ebd3c1b907e3d0fdf97cc07914245c028 --- generic/aolstub.c (.../aolstub.c) (revision 880487204ff2da18d2d25ebd727b9b4bbda86c8e) +++ generic/aolstub.c (.../aolstub.c) (revision 92ab630ebd3c1b907e3d0fdf97cc07914245c028) @@ -10,7 +10,7 @@ Archiware Inc. * * Copyright (C) 2006-2013 Zoran Vasiljevic - * Copyright (C) 2006-2013 Gustaf Neumann + * Copyright (C) 2006-2014 Gustaf Neumann * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -168,11 +168,15 @@ *---------------------------------------------------------------------------- */ +int Ns_ModuleInit(char *hServer, char *hModule) nonnull(1) nonnull(2); + int -Ns_ModuleInit(char *hServer, char *hModule) -{ +Ns_ModuleInit(char *hServer, char *hModule) { int ret; - + + assert(hServer); + assert(hModule); + /*Ns_Log(Notice, "+++ ModuleInit","INIT");*/ ret = Ns_TclInitInterps(hServer, NsNsf_Init, (void*)hModule);