Diff for /src/sys/dev/sound/isa/i386/spkr/Attic/spkr.c between versions 1.11 and 1.12

version 1.11, 2004/05/19 22:52:50 version 1.12, 2005/01/04 05:27:47
Line 209  static void Line 209  static void
 playtone(pitch, value, sustain)  playtone(pitch, value, sustain)
         int     pitch, value, sustain;          int     pitch, value, sustain;
 {  {
    register int        sound, silence, snum = 1, sdenom = 1;    int sound, silence, snum = 1, sdenom = 1;
   
     /* this weirdness avoids floating-point arithmetic */      /* this weirdness avoids floating-point arithmetic */
     for (; sustain; sustain--)      for (; sustain; sustain--)
Line 264  playstring(cp, slen) Line 264  playstring(cp, slen)
     for (; slen--; cp++)      for (; slen--; cp++)
     {      {
         int             sustain, timeval, tempo;          int             sustain, timeval, tempo;
        register char   c = toupper(*cp);        char            c = toupper(*cp);
   
 #ifdef DEBUG  #ifdef DEBUG
         (void) printf("playstring: %c (%x)\n", c, c);          (void) printf("playstring: %c (%x)\n", c, c);

Removed from v.1.11  
changed lines
  Added in v.1.12