aggiunto diagrammi di stack del processo (programma + librerie) in tre
[gapil.git] / macro.tex
index 2f4ea86a4cc19f39f452e43c63bc54800b410775..9feadaa9d15e36a1bdb230970d1c28232e7e0118 100644 (file)
--- a/macro.tex
+++ b/macro.tex
@@ -60,20 +60,24 @@ tab.~\thechapter.\theusercount}
 %
 % Macro to create a special environment for function prototypes
 %
-\newenvironment{prototype}[1]{
+\newenvironment{prototype}[2]{
   \center
-  \begin{minipage}[c]{14cm}
-  \par \texttt{#1}
    \footnotesize
+  \begin{minipage}[c]{14cm}
+    \par \texttt{\#include <#1>}
+%    \par \ 
+    \par \texttt{#2}
+%   \begin{lstlisting}{}
+% #1
+% #2
+%   \end{lstlisting}
   \begin{list}{}{} 
     \item }
 { \end{list} 
   \par 
-\normalsize 
 \par \texttt{ }
 \end{minipage} 
+\normalsize 
 \par
 }
 \newenvironment{errlist}{\begin{description}}{\end{description}}
-
-