Changeset 5949:9528e85ba67c in roaraudio for libroar
- Timestamp:
- 10/20/13 13:23:36 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/debug.c
r5823 r5949 78 78 } else { 79 79 roar_debug_msg(ROAR_DEBUG_TYPE_ERROR, 0, progname, ROAR_DBG_PREFIX, "This program is obsolete and will be removed soon. Please use %s. %s", newprog, info); 80 } 81 } 82 83 void roar_debug_option_obsolete(const char * progname, const char * option, const char * newopt, const char * info) { 84 if ( info == NULL ) 85 info = ""; 86 87 if ( newopt == NULL ) { 88 roar_debug_msg(ROAR_DEBUG_TYPE_ERROR, 0, progname, ROAR_DBG_PREFIX, "The option \"%s\" is obsolete and will be removed soon. %s", option, info); 89 } else { 90 roar_debug_msg(ROAR_DEBUG_TYPE_ERROR, 0, progname, ROAR_DBG_PREFIX, "The option \"%s\" is obsolete and will be removed soon. Please use \"%s\". %s", option, newopt, info); 80 91 } 81 92 }
Note: See TracChangeset
for help on using the changeset viewer.