[Debburn-changes] r833 - cdrkit/trunk/wodim

Peter Samuelson peters at alioth.debian.org
Sun Oct 11 18:26:02 UTC 2009


Author: peters
Date: 2009-10-11 18:26:01 +0000 (Sun, 11 Oct 2009)
New Revision: 833

Modified:
   cdrkit/trunk/wodim/cue.c
Log:
Eliminate a 'getdelim()' function.  This clashes with recent POSIX.


Modified: cdrkit/trunk/wodim/cue.c
===================================================================
--- cdrkit/trunk/wodim/cue.c	2009-08-11 13:27:55 UTC (rev 832)
+++ cdrkit/trunk/wodim/cue.c	2009-10-11 18:26:01 UTC (rev 833)
@@ -253,7 +253,6 @@
 static	char	*peekword(void);
 static	char	*lineend(void);
 static	char	*markword(char *delim);
-static	char	getdelim(void);
 static	char	*getnextitem(char *delim);
 static	char	*neednextitem(char *delim);
 static	char	*nextword(void);
@@ -746,7 +745,7 @@
 	if (kp == NULL)
 		cueabort("Unknown filetype '%s'", word);
 
-	if (getdelim() == '/') {
+	if (wordendc == '/') {
 		word = needitem();
 		if (*astol(++word, &secsize) != '\0')
 			cueabort("Not a number '%s'", word);
@@ -1127,12 +1126,6 @@
 	return (linep);
 }
 
-static char 
-getdelim()
-{
-	return (wordendc);
-}
-
 static char *
 getnextitem(char *delim)
 {




More information about the Debburn-changes mailing list