summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libmisc/assoc/assocnamebad.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-11 16:12:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-11 16:12:05 +0000
commitaba4025032c5897dd62f291cd01f47da8892c79b (patch)
treeaf362f10a2dab3d69a1189d892a7525ad981dd6d /c/src/lib/libmisc/assoc/assocnamebad.c
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-aba4025032c5897dd62f291cd01f47da8892c79b.tar.bz2
Removed targets and configurations that are no longer functional
and not likely to become so. Comments on each configuration are below. + Force CPU386 - This BSP was developed as part of the initial port of RTEMS to the i386. This board has been unavailable for a long time now. + GO32 - This BSP and some CPU code supported djgpp v1.x. This version is now quite old. No one has stepped forward to update the code to v2.x which may be technically impossible anyway. More importantly, go32 has been superceded by the pc386 BSP.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libmisc/assoc/assocnamebad.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/c/src/lib/libmisc/assoc/assocnamebad.c b/c/src/lib/libmisc/assoc/assocnamebad.c
deleted file mode 100644
index e336c39cc7..0000000000
--- a/c/src/lib/libmisc/assoc/assocnamebad.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * assoc.c
- * rtems assoc routines
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include "assoc.h"
-
-#include <stdio.h> /* sprintf */
-#include <string.h> /* strcat, strcmp */
-
-#define STREQ(a,b) (strcmp((a), (b)) == 0)
-#define rtems_assoc_is_default(ap) ((ap)->name && STREQ(ap->name, RTEMS_ASSOC_DEFAULT_NAME))
-
-/*
- * what to return if a value is not found
- * this is not reentrant, but it really shouldn't be invoked anyway
- */
-
-const char *
-rtems_assoc_name_bad(
- unsigned32 bad_value
-)
-{
-#ifdef RTEMS_DEBUG
- static char bad_buffer[32];
-
- sprintf(bad_buffer, "< %d [0x%x] >", bad_value, bad_value);
-#else
- static char bad_buffer[32] = "<assoc.c: BAD NAME>";
-#endif
- return bad_buffer;
-}
-
-