]> andersk Git - moira.git/blobdiff - lib/critical.c
Build shared libmoira via libtool.
[moira.git] / lib / critical.c
index c1410e17c1e17b917597e5d50cfbd696eaf75e84..f4ef4b2d90af3b0bd853ef4412daa0961484198b 100644 (file)
@@ -33,15 +33,13 @@ RCSID("$Header$");
 /* mode to create the file with */
 #define LOGFILEMODE    0644
 
-extern char *whoami;
-
 /* This routine sends a class MOIRA zephyrgram of specified instance
  * and logs to a special logfile the message passed to it via msg
  * and args in printf format.  *** It expects the global variable
  * whoami to be defined and contain the name of the calling program.
  */
 
-void critical_alert(char *instance, char *msg, ...)
+void critical_alert(char *whoami, char *instance, char *msg, ...)
 {
   FILE *crit;
   char *buf;
This page took 0.033925 seconds and 4 git commands to generate.