diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-04 19:16:07 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-04 19:16:07 -0500 |
commit | 52d5cc53307cce58c86aa74ccd9010bbad59ff63 (patch) | |
tree | ef85975fea4e55b48b4ea7efd66b89c7685a7d2d | |
parent | 1decaa2d7baacd9af10694255c4efad783815f51 (diff) | |
download | librambutan-52d5cc53307cce58c86aa74ccd9010bbad59ff63.tar.gz librambutan-52d5cc53307cce58c86aa74ccd9010bbad59ff63.zip |
Cosmetic changes to wirish/main.cxx
-rw-r--r-- | wirish/main.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/wirish/main.cxx b/wirish/main.cxx index f0158f8..dd5e296 100644 --- a/wirish/main.cxx +++ b/wirish/main.cxx @@ -1,4 +1,4 @@ -/* *****************************************************************************
+/******************************************************************************
* The MIT License
*
* Copyright (c) 2010 LeafLabs LLC.
@@ -20,16 +20,15 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
- * ****************************************************************************/
+ *****************************************************************************/
// Force init to be called *first*, i.e. before static object allocation.
-// Otherwise, statically allocated object that need libmaple may fail.
+// Otherwise, statically allocated objects that need libmaple may fail.
__attribute__(( constructor )) void premain() {
init();
}
-int main(void)
-{
+int main(void) {
setup();
while (1) {
|