summaryrefslogtreecommitdiffstats
path: root/c/src/libmisc/assoc/assocnamebad.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libmisc/assoc/assocnamebad.c')
-rw-r--r--c/src/libmisc/assoc/assocnamebad.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/c/src/libmisc/assoc/assocnamebad.c b/c/src/libmisc/assoc/assocnamebad.c
deleted file mode 100644
index e336c39cc7..0000000000
--- a/c/src/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;
-}
-
-