Remove inclusion of std headers to our headers; move fatal from src/error.h to src/libjsparser/parser.c.

This commit is contained in:
Ruben Ayrapetyan
2014-07-10 17:10:50 +04:00
parent c132f6aa3c
commit 76e579d4e1
17 changed files with 263 additions and 476 deletions
+4 -5
View File
@@ -13,21 +13,20 @@
* limitations under the License.
*/
#include <stdio.h>
#include "actuators.h"
#include "jerry-libc.h"
void led_toggle(int led_id)
{
printf("led_toogle: %d", led_id);
__printf("led_toogle: %d", led_id);
}
void led_on(int led_id)
{
printf("led_on: %d", led_id);
__printf("led_on: %d", led_id);
}
void led_off(int led_id)
{
printf("led_off: %d", led_id);
__printf("led_off: %d", led_id);
}