Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions main.h → jerry-core/jerry-port.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
/* Copyright 2014-2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,8 +13,8 @@
* limitations under the License.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copyright years need to be updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

*/

#ifndef MAIN_H
#define MAIN_H
#include "jerry-port.h"
#include <stdarg.h>

/**
* Provide log message to filestream implementation for the engine.
Expand Down Expand Up @@ -45,13 +45,10 @@ int jerry_port_errormsg (const char *format, /**< format string */
return count;
} /* jerry_port_errormsg */


/**
* Provide output character to console implementation for the engine.
*/
int jerry_port_putchar (int c) /**< character to put */
{
return putchar (c);
} /* jerry_port_putchar */

#endif /* !MAIN_H */
1 change: 0 additions & 1 deletion main-mcu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/

#include "jerry.h"
#include "main.h"

/**
* Standalone Jerry exit codes
Expand Down
1 change: 0 additions & 1 deletion main-unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#include "jerry.h"
#include "jrt/jrt.h"
#include "main.h"

/**
* Maximum command line arguments number
Expand Down