summaryrefslogtreecommitdiff
path: root/nuttx/examples/uip
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-09-08 22:41:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-09-08 22:41:00 +0000
commit712b9f5349a81fe56fa060ccb8aa13e0db830657 (patch)
treedfbb89ff177cb40a24945fa3925c9e75230a6a5b /nuttx/examples/uip
parent255e1fe83691a2c5a3328bcec13e2bce0a140696 (diff)
downloadpx4-nuttx-712b9f5349a81fe56fa060ccb8aa13e0db830657.tar.gz
px4-nuttx-712b9f5349a81fe56fa060ccb8aa13e0db830657.tar.bz2
px4-nuttx-712b9f5349a81fe56fa060ccb8aa13e0db830657.zip
Cleanup and fix problems introduce in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@337 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/uip')
-rw-r--r--nuttx/examples/uip/main.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/nuttx/examples/uip/main.c b/nuttx/examples/uip/main.c
index d7cfc6bb2..9771f4a9e 100644
--- a/nuttx/examples/uip/main.c
+++ b/nuttx/examples/uip/main.c
@@ -1,10 +1,18 @@
-/* main.c
- * Copyright (c) 2001, Adam Dunkels.
- * All rights reserved.
+/****************************************************************************
+ * examples/uip/main.c
+ *
+ * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ *
+ * Based on uIP which also has a BSD style license:
+ *
+ * Copyright (c) 2001, Adam Dunkels.
+ * All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
+ *
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
@@ -29,11 +37,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * This file is part of the uIP TCP/IP stack.
- *
- * $Id: main.c,v 1.4 2007-09-03 20:34:43 patacongo Exp $
- *
- */
+ ****************************************************************************/
+
+/****************************************************************************
+ * Included Files
+ ****************************************************************************/
#include <stdio.h>
#include <unistd.h>