flash/nor: Add Ambiq Micro Apollo flash driver.
[fw/openocd] / src / helper / log.c
index ff84dbf00514f5b87913273f1a603e8c40e55abc..0bea1c50c4ac21fcfd53067b9225158c8bef78a3 100644 (file)
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.           *
  ***************************************************************************/
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
+#include "log.h"
+#include "command.h"
 #include "time_support.h"
-/* @todo the inclusion of server.h here is a layering violation */
-#include <server/server.h>
 
 #include <stdarg.h>
 
@@ -52,7 +52,7 @@ static long long current_time;
 
 static long long start;
 
-static char *log_strings[5] = {
+static const char * const log_strings[5] = {
        "User : ",
        "Error: ",
        "Warn : ",      /* want a space after each colon, all same width, colons aligned */