]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/charptr.c
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Other / Maintained / Tools / Pccts / h / charptr.c
diff --git a/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/charptr.c b/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/charptr.c
deleted file mode 100644 (file)
index 930c5df..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/*\r
- * SOFTWARE RIGHTS\r
- *\r
- * We reserve no LEGAL rights to the Purdue Compiler Construction Tool\r
- * Set (PCCTS) -- PCCTS is in the public domain.  An individual or\r
- * company may do whatever they wish with source code distributed with\r
- * PCCTS or the code generated by PCCTS, including the incorporation of\r
- * PCCTS, or its output, into commerical software.\r
- *\r
- * We encourage users to develop software with PCCTS.  However, we do ask\r
- * that credit is given to us for developing PCCTS.  By "credit",\r
- * we mean that if you incorporate our source code into one of your\r
- * programs (commercial product, research project, or otherwise) that you\r
- * acknowledge this fact somewhere in the documentation, research report,\r
- * etc...  If you like PCCTS and have developed a nice tool with the\r
- * output, please mention that you developed it using PCCTS.  In\r
- * addition, we ask that this header remain intact in our source code.\r
- * As long as these guidelines are kept, we expect to continue enhancing\r
- * this system and expect to make other tools available as they are\r
- * completed.\r
- *\r
- * ANTLR 1.33\r
- * Terence Parr\r
- * Parr Research Corporation\r
- * with Purdue University and AHPCRC, University of Minnesota\r
- * 1989-1998\r
- */\r
-\r
-#include "pcctscfg.h"\r
-\r
-#ifdef __STDC__\r
-#include "pccts_stdlib.h"\r
-#else\r
-#include <malloc.h>\r
-#endif\r
-#include "pccts_string.h"\r
-\r
-/* 133MR1 include stdio.h for fprintf in charptr.c */\r
-\r
-#include "pccts_stdio.h"\r
-\r
-/* 133MR1 include charptr.h for Attrib in charptr.c */\r
-\r
-#include "charptr.h"\r
-\r
-#ifdef __USE_PROTOS\r
-zzcr_attr(Attrib *a,int token,char *text)\r
-#else\r
-zzcr_attr(a,token,text)\r
-Attrib *a;\r
-int token;\r
-char *text;\r
-#endif\r
-{\r
-  *a = (char *) malloc(strlen(text)+1);      /* MR6 */\r
-  if ( *a == NULL ) {fprintf(stderr, "zzcr_attr: out of memory!\n"); exit(-1);}\r
-  strcpy(*a, text);\r
-}\r