-%
-% (c) The GRASP/AQUA Project, Glasgow University, 1994
-%
-\subsection[errno.lc]{GHC Error Number Conversion}
-
-\begin{code}
+/*
+ * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
+ *
+ * $Id: errno.c,v 1.1 1998/04/10 10:54:18 simonm Exp $
+ *
+ * GHC Error Number Conversion
+ */
-#include "rtsdefs.h"
+#include "Rts.h"
#include "stgio.h"
int ghc_errno = 0;
/* Collect all of the grotty #ifdef's in one place. */
-void cvtErrno(STG_NO_ARGS)
+void cvtErrno(void)
{
switch(errno) {
#ifdef E2BIG
}
void
-stdErrno(STG_NO_ARGS)
+stdErrno(void)
{
switch(ghc_errno) {
default:
break;
}
}
-
-\end{code}