Removed spurious junk so the file compiles

strdup removed - not ANSI and not on my system


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-05-12 20:56:17 +00:00
commit b4a002dad0

View file

@ -1,6 +1,6 @@
#include "swigmod.h"
char cvsroot_allegrocl_cxx[] = "$Header$";
;; $Id$
#include "swigmod.h"
class ALLEGROCL : public Language {
public:
@ -179,7 +179,8 @@ void ALLEGROCL :: main(int argc, char *argv[]) {
identifier_converter="identifier-convert-null";
} else {
/* Must be user defined */
identifier_converter=strdup(conv);
identifier_converter = (char *)malloc(strlen(conv)+1);
strcpy(identifier_converter, conv);
}
}