File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ void PEN(void)
6161 ulong r = 0 ; /* answer */
6262
6363 /* put this command inside a loop to get previews when pressing CTRL-C */
64- /* ctrlc ("%s: Trying now %u\n", __FUNCTION__, r); */
64+ /* ctrlc_printf ("%s: Trying now %u\n", __FUNCTION__, r); */
6565
6666 printf ("%s: %lu\n" , __FUNCTION__ , r ); /* answer */
6767 return ;
Original file line number Diff line number Diff line change 3030
3131/* ---------------------------------------------------------------------- */
3232/* globals */
33- volatile sig_atomic_t oneminute = 0 ;
33+ /* volatile sig_atomic_t oneminute=0; */
3434volatile sig_atomic_t CTRLC = 0 ;
3535
3636/* ---------------------------------------------------------------------- */
Original file line number Diff line number Diff line change @@ -89,16 +89,14 @@ typedef unsigned int uint;
8989
9090/* ---------------------------------------------------------------------- */
9191/* prototypes */
92- void startmain (void );
93- /* void startfunc(const char *s); */
94- void finishmain (void );
95-
92+ void startmain (void ); /* grab signals */
93+ void finishmain (void ); /* give back signals */
9694void sigproc (); /* Grab ctrl-c to show info */
9795void quitproc (); /* ctrl-\ to abort cleanly */
9896void oneminuterule (); /* one minute rule */
9997void ctrlc_printf (char * fmt , ...); /* print only if pressed CTRL-C */
10098
101- /* math auxiliary functions */
99+ /* auxiliary functions */
102100
103101/* ... your functions here */
104102
You can’t perform that action at this time.
0 commit comments