annotate examples/hello.c @ 3252:2dba5f2af421

* src/core/snmp/msg_out.c: Applied lwip bugfix #29256. ip_addr_set_hton(...) does not exist in this revision, so an equivalent solution was provided. The application was retested. Any application that worked around the problem by using htonl(...) will need to be changed by removing it. [ Bugzilla 1001789 ]
author jld
date Sat, 22 Jun 2013 14:58:09 +0000
parents ead06911cbae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
168
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
1 /* this is a simple hello world program */
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
2 #include <stdio.h>
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
3
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
4 int main(void)
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
5 {
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
6 printf("Hello, eCos world!\n");
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
7 return 0;
ead06911cbae Add up-to-date examples
jlarmour
parents:
diff changeset
8 }