summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-10 16:34:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-10 16:34:46 +0000
commit52e613351a71a9aa8cf9dcda553e0811968497e8 (patch)
tree57bc8ad99b79a25acae788f26a6f2b8a4d3789fc
parent0f11ac27b9b9dbdde216a700434b7fcdc47e1093 (diff)
downloadnuttx-52e613351a71a9aa8cf9dcda553e0811968497e8.tar.gz
nuttx-52e613351a71a9aa8cf9dcda553e0811968497e8.tar.bz2
nuttx-52e613351a71a9aa8cf9dcda553e0811968497e8.zip
OK.. I think the directory has been recovered and renamed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5331 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/libc/Kconfig2
-rw-r--r--nuttx/libc/Makefile8
-rw-r--r--nuttx/libc/README.txt2
-rw-r--r--nuttx/libc/dirent/Make.defs2
-rw-r--r--nuttx/libc/dirent/lib_readdirr.c2
-rw-r--r--nuttx/libc/dirent/lib_telldir.c2
-rw-r--r--nuttx/libc/fixedmath/Make.defs2
-rw-r--r--nuttx/libc/fixedmath/lib_b16atan2.c2
-rw-r--r--nuttx/libc/fixedmath/lib_b16cos.c2
-rw-r--r--nuttx/libc/fixedmath/lib_b16sin.c2
-rw-r--r--nuttx/libc/fixedmath/lib_fixedmath.c2
-rw-r--r--nuttx/libc/fixedmath/lib_rint.c2
-rw-r--r--nuttx/libc/lib_internal.h2
-rw-r--r--nuttx/libc/libgen/Make.defs2
-rw-r--r--nuttx/libc/libgen/lib_basename.c2
-rw-r--r--nuttx/libc/libgen/lib_dirname.c2
-rw-r--r--nuttx/libc/math/Make.defs2
-rw-r--r--nuttx/libc/math/lib_acos.c2
-rw-r--r--nuttx/libc/math/lib_acosf.c2
-rw-r--r--nuttx/libc/math/lib_acosl.c2
-rw-r--r--nuttx/libc/math/lib_asin.c2
-rw-r--r--nuttx/libc/math/lib_asinf.c2
-rw-r--r--nuttx/libc/math/lib_asinl.c2
-rw-r--r--nuttx/libc/math/lib_atan.c2
-rw-r--r--nuttx/libc/math/lib_atan2.c2
-rw-r--r--nuttx/libc/math/lib_atan2f.c2
-rw-r--r--nuttx/libc/math/lib_atan2l.c2
-rw-r--r--nuttx/libc/math/lib_atanf.c2
-rw-r--r--nuttx/libc/math/lib_atanl.c2
-rw-r--r--nuttx/libc/math/lib_ceil.c2
-rw-r--r--nuttx/libc/math/lib_ceilf.c2
-rw-r--r--nuttx/libc/math/lib_ceill.c2
-rw-r--r--nuttx/libc/math/lib_cos.c2
-rw-r--r--nuttx/libc/math/lib_cosf.c2
-rw-r--r--nuttx/libc/math/lib_cosh.c2
-rw-r--r--nuttx/libc/math/lib_coshf.c2
-rw-r--r--nuttx/libc/math/lib_coshl.c2
-rw-r--r--nuttx/libc/math/lib_cosl.c2
-rw-r--r--nuttx/libc/math/lib_exp.c2
-rw-r--r--nuttx/libc/math/lib_expf.c2
-rw-r--r--nuttx/libc/math/lib_expl.c2
-rw-r--r--nuttx/libc/math/lib_fabs.c2
-rw-r--r--nuttx/libc/math/lib_fabsf.c2
-rw-r--r--nuttx/libc/math/lib_fabsl.c2
-rw-r--r--nuttx/libc/math/lib_floor.c2
-rw-r--r--nuttx/libc/math/lib_floorf.c2
-rw-r--r--nuttx/libc/math/lib_floorl.c2
-rw-r--r--nuttx/libc/math/lib_fmod.c2
-rw-r--r--nuttx/libc/math/lib_fmodf.c2
-rw-r--r--nuttx/libc/math/lib_fmodl.c2
-rw-r--r--nuttx/libc/math/lib_frexp.c2
-rw-r--r--nuttx/libc/math/lib_frexpf.c2
-rw-r--r--nuttx/libc/math/lib_frexpl.c2
-rw-r--r--nuttx/libc/math/lib_ldexp.c2
-rw-r--r--nuttx/libc/math/lib_ldexpf.c2
-rw-r--r--nuttx/libc/math/lib_ldexpl.c2
-rw-r--r--nuttx/libc/math/lib_libexpi.c2
-rw-r--r--nuttx/libc/math/lib_libsqrtapprox.c2
-rw-r--r--nuttx/libc/math/lib_log.c2
-rw-r--r--nuttx/libc/math/lib_log10.c2
-rw-r--r--nuttx/libc/math/lib_log10f.c2
-rw-r--r--nuttx/libc/math/lib_log10l.c2
-rw-r--r--nuttx/libc/math/lib_log2.c2
-rw-r--r--nuttx/libc/math/lib_log2f.c2
-rw-r--r--nuttx/libc/math/lib_log2l.c2
-rw-r--r--nuttx/libc/math/lib_logf.c2
-rw-r--r--nuttx/libc/math/lib_logl.c2
-rw-r--r--nuttx/libc/math/lib_modf.c2
-rw-r--r--nuttx/libc/math/lib_modff.c2
-rw-r--r--nuttx/libc/math/lib_modfl.c2
-rw-r--r--nuttx/libc/math/lib_pow.c2
-rw-r--r--nuttx/libc/math/lib_powf.c2
-rw-r--r--nuttx/libc/math/lib_powl.c2
-rw-r--r--nuttx/libc/math/lib_sin.c2
-rw-r--r--nuttx/libc/math/lib_sinf.c2
-rw-r--r--nuttx/libc/math/lib_sinh.c2
-rw-r--r--nuttx/libc/math/lib_sinhf.c2
-rw-r--r--nuttx/libc/math/lib_sinhl.c2
-rw-r--r--nuttx/libc/math/lib_sinl.c2
-rw-r--r--nuttx/libc/math/lib_sqrt.c2
-rw-r--r--nuttx/libc/math/lib_sqrtf.c2
-rw-r--r--nuttx/libc/math/lib_sqrtl.c2
-rw-r--r--nuttx/libc/math/lib_tan.c2
-rw-r--r--nuttx/libc/math/lib_tanf.c2
-rw-r--r--nuttx/libc/math/lib_tanh.c2
-rw-r--r--nuttx/libc/math/lib_tanhf.c2
-rw-r--r--nuttx/libc/math/lib_tanhl.c2
-rw-r--r--nuttx/libc/math/lib_tanl.c2
-rw-r--r--nuttx/libc/misc/Make.defs2
-rw-r--r--nuttx/libc/misc/lib_crc32.c2
-rw-r--r--nuttx/libc/misc/lib_dbg.c2
-rw-r--r--nuttx/libc/misc/lib_dumpbuffer.c2
-rw-r--r--nuttx/libc/misc/lib_filesem.c2
-rw-r--r--nuttx/libc/misc/lib_init.c2
-rw-r--r--nuttx/libc/misc/lib_match.c2
-rw-r--r--nuttx/libc/misc/lib_sendfile.c2
-rw-r--r--nuttx/libc/misc/lib_streamsem.c2
-rw-r--r--nuttx/libc/mqueue/Make.defs2
-rw-r--r--nuttx/libc/mqueue/mq_getattr.c2
-rw-r--r--nuttx/libc/mqueue/mq_setattr.c2
-rw-r--r--nuttx/libc/net/Make.defs2
-rw-r--r--nuttx/libc/net/lib_etherntoa.c2
-rw-r--r--nuttx/libc/net/lib_htonl.c2
-rw-r--r--nuttx/libc/net/lib_htons.c2
-rw-r--r--nuttx/libc/net/lib_inetaddr.c2
-rw-r--r--nuttx/libc/net/lib_inetntoa.c2
-rw-r--r--nuttx/libc/net/lib_inetntop.c2
-rw-r--r--nuttx/libc/net/lib_inetpton.c2
-rw-r--r--nuttx/libc/pthread/Make.defs2
-rw-r--r--nuttx/libc/pthread/pthread_attrdestroy.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrgetinheritsched.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrgetschedparam.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrgetschedpolicy.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrgetstacksize.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrinit.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrsetinheritsched.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrsetschedparam.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrsetschedpolicy.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrsetstacksize.c2
-rw-r--r--nuttx/libc/pthread/pthread_barrierattrdestroy.c2
-rw-r--r--nuttx/libc/pthread/pthread_barrierattrgetpshared.c2
-rw-r--r--nuttx/libc/pthread/pthread_barrierattrinit.c2
-rw-r--r--nuttx/libc/pthread/pthread_barrierattrsetpshared.c2
-rw-r--r--nuttx/libc/pthread/pthread_condattrdestroy.c2
-rw-r--r--nuttx/libc/pthread/pthread_condattrinit.c2
-rw-r--r--nuttx/libc/pthread/pthread_mutexattrdestroy.c2
-rw-r--r--nuttx/libc/pthread/pthread_mutexattrgetpshared.c2
-rw-r--r--nuttx/libc/pthread/pthread_mutexattrgettype.c2
-rw-r--r--nuttx/libc/pthread/pthread_mutexattrinit.c2
-rw-r--r--nuttx/libc/pthread/pthread_mutexattrsetpshared.c2
-rw-r--r--nuttx/libc/pthread/pthread_mutexattrsettype.c2
-rw-r--r--nuttx/libc/queue/Make.defs2
-rw-r--r--nuttx/libc/queue/dq_addafter.c2
-rw-r--r--nuttx/libc/queue/dq_addbefore.c2
-rw-r--r--nuttx/libc/queue/dq_addfirst.c2
-rw-r--r--nuttx/libc/queue/dq_addlast.c2
-rw-r--r--nuttx/libc/queue/dq_rem.c2
-rw-r--r--nuttx/libc/queue/dq_remfirst.c2
-rw-r--r--nuttx/libc/queue/dq_remlast.c2
-rw-r--r--nuttx/libc/queue/sq_addafter.c2
-rw-r--r--nuttx/libc/queue/sq_addfirst.c2
-rw-r--r--nuttx/libc/queue/sq_addlast.c2
-rw-r--r--nuttx/libc/queue/sq_rem.c2
-rw-r--r--nuttx/libc/queue/sq_remafter.c2
-rw-r--r--nuttx/libc/queue/sq_remfirst.c2
-rw-r--r--nuttx/libc/queue/sq_remlast.c2
-rw-r--r--nuttx/libc/sched/Make.defs2
-rw-r--r--nuttx/libc/sched/sched_getprioritymax.c2
-rw-r--r--nuttx/libc/sched/sched_getprioritymin.c2
-rw-r--r--nuttx/libc/semaphore/Make.defs2
-rw-r--r--nuttx/libc/semaphore/sem_getvalue.c2
-rw-r--r--nuttx/libc/semaphore/sem_init.c2
-rw-r--r--nuttx/libc/signal/Make.defs2
-rw-r--r--nuttx/libc/signal/sig_addset.c2
-rw-r--r--nuttx/libc/signal/sig_delset.c2
-rw-r--r--nuttx/libc/signal/sig_emptyset.c2
-rw-r--r--nuttx/libc/signal/sig_fillset.c2
-rw-r--r--nuttx/libc/signal/sig_ismember.c2
-rw-r--r--nuttx/libc/stdio/Make.defs2
-rw-r--r--nuttx/libc/stdio/lib_asprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_avsprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_clearerr.c2
-rw-r--r--nuttx/libc/stdio/lib_dtoa.c2
-rw-r--r--nuttx/libc/stdio/lib_fclose.c2
-rw-r--r--nuttx/libc/stdio/lib_feof.c2
-rw-r--r--nuttx/libc/stdio/lib_ferror.c2
-rw-r--r--nuttx/libc/stdio/lib_fflush.c2
-rw-r--r--nuttx/libc/stdio/lib_fgetc.c2
-rw-r--r--nuttx/libc/stdio/lib_fgetpos.c2
-rw-r--r--nuttx/libc/stdio/lib_fgets.c2
-rw-r--r--nuttx/libc/stdio/lib_fileno.c2
-rw-r--r--nuttx/libc/stdio/lib_fopen.c2
-rw-r--r--nuttx/libc/stdio/lib_fprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_fputc.c2
-rw-r--r--nuttx/libc/stdio/lib_fputs.c2
-rw-r--r--nuttx/libc/stdio/lib_fread.c2
-rw-r--r--nuttx/libc/stdio/lib_fseek.c2
-rw-r--r--nuttx/libc/stdio/lib_fsetpos.c2
-rw-r--r--nuttx/libc/stdio/lib_ftell.c2
-rw-r--r--nuttx/libc/stdio/lib_fwrite.c2
-rw-r--r--nuttx/libc/stdio/lib_gets.c2
-rw-r--r--nuttx/libc/stdio/lib_libdtoa.c2
-rw-r--r--nuttx/libc/stdio/lib_libfflush.c2
-rw-r--r--nuttx/libc/stdio/lib_libflushall.c2
-rw-r--r--nuttx/libc/stdio/lib_libfread.c2
-rw-r--r--nuttx/libc/stdio/lib_libfwrite.c2
-rw-r--r--nuttx/libc/stdio/lib_libnoflush.c2
-rw-r--r--nuttx/libc/stdio/lib_libsprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_libvsprintf.c4
-rw-r--r--nuttx/libc/stdio/lib_lowinstream.c2
-rw-r--r--nuttx/libc/stdio/lib_lowoutstream.c2
-rw-r--r--nuttx/libc/stdio/lib_lowprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_meminstream.c2
-rw-r--r--nuttx/libc/stdio/lib_memoutstream.c2
-rw-r--r--nuttx/libc/stdio/lib_nullinstream.c2
-rw-r--r--nuttx/libc/stdio/lib_nulloutstream.c2
-rw-r--r--nuttx/libc/stdio/lib_perror.c2
-rw-r--r--nuttx/libc/stdio/lib_printf.c2
-rw-r--r--nuttx/libc/stdio/lib_puts.c2
-rw-r--r--nuttx/libc/stdio/lib_rawinstream.c2
-rw-r--r--nuttx/libc/stdio/lib_rawoutstream.c2
-rw-r--r--nuttx/libc/stdio/lib_rawprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_rdflush.c2
-rw-r--r--nuttx/libc/stdio/lib_snprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_sprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_sscanf.c2
-rw-r--r--nuttx/libc/stdio/lib_stdinstream.c2
-rw-r--r--nuttx/libc/stdio/lib_stdoutstream.c2
-rw-r--r--nuttx/libc/stdio/lib_syslogstream.c2
-rw-r--r--nuttx/libc/stdio/lib_ungetc.c2
-rw-r--r--nuttx/libc/stdio/lib_vfprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_vprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_vsnprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_vsprintf.c4
-rw-r--r--nuttx/libc/stdio/lib_wrflush.c2
-rw-r--r--nuttx/libc/stdio/lib_zeroinstream.c2
-rw-r--r--nuttx/libc/stdlib/Make.defs2
-rw-r--r--nuttx/libc/stdlib/lib_abort.c2
-rw-r--r--nuttx/libc/stdlib/lib_abs.c2
-rw-r--r--nuttx/libc/stdlib/lib_imaxabs.c2
-rw-r--r--nuttx/libc/stdlib/lib_labs.c2
-rw-r--r--nuttx/libc/stdlib/lib_llabs.c2
-rw-r--r--nuttx/libc/stdlib/lib_qsort.c2
-rw-r--r--nuttx/libc/stdlib/lib_rand.c2
-rw-r--r--nuttx/libc/string/Make.defs2
-rw-r--r--nuttx/libc/string/lib_checkbase.c2
-rw-r--r--nuttx/libc/string/lib_isbasedigit.c2
-rw-r--r--nuttx/libc/string/lib_memccpy.c2
-rw-r--r--nuttx/libc/string/lib_memchr.c2
-rw-r--r--nuttx/libc/string/lib_memcmp.c2
-rw-r--r--nuttx/libc/string/lib_memcpy.c2
-rw-r--r--nuttx/libc/string/lib_memmove.c2
-rw-r--r--nuttx/libc/string/lib_memset.c2
-rw-r--r--nuttx/libc/string/lib_skipspace.c2
-rw-r--r--nuttx/libc/string/lib_strcasecmp.c2
-rw-r--r--nuttx/libc/string/lib_strcasestr.c2
-rw-r--r--nuttx/libc/string/lib_strcat.c2
-rw-r--r--nuttx/libc/string/lib_strchr.c2
-rw-r--r--nuttx/libc/string/lib_strcmp.c2
-rw-r--r--nuttx/libc/string/lib_strcpy.c2
-rw-r--r--nuttx/libc/string/lib_strcspn.c2
-rw-r--r--nuttx/libc/string/lib_strdup.c2
-rw-r--r--nuttx/libc/string/lib_strerror.c2
-rw-r--r--nuttx/libc/string/lib_strlen.c2
-rw-r--r--nuttx/libc/string/lib_strncasecmp.c2
-rw-r--r--nuttx/libc/string/lib_strncat.c2
-rw-r--r--nuttx/libc/string/lib_strncmp.c2
-rw-r--r--nuttx/libc/string/lib_strncpy.c2
-rw-r--r--nuttx/libc/string/lib_strndup.c2
-rw-r--r--nuttx/libc/string/lib_strnlen.c4
-rw-r--r--nuttx/libc/string/lib_strpbrk.c2
-rw-r--r--nuttx/libc/string/lib_strrchr.c2
-rw-r--r--nuttx/libc/string/lib_strspn.c2
-rw-r--r--nuttx/libc/string/lib_strstr.c2
-rw-r--r--nuttx/libc/string/lib_strtod.c2
-rw-r--r--nuttx/libc/string/lib_strtok.c2
-rw-r--r--nuttx/libc/string/lib_strtokr.c2
-rw-r--r--nuttx/libc/string/lib_strtol.c2
-rw-r--r--nuttx/libc/string/lib_strtoll.c2
-rw-r--r--nuttx/libc/string/lib_strtoul.c2
-rw-r--r--nuttx/libc/string/lib_strtoull.c2
-rw-r--r--nuttx/libc/string/lib_vikmemcpy.c696
-rw-r--r--nuttx/libc/termios/Make.defs2
-rw-r--r--nuttx/libc/termios/lib_cfgetspeed.c2
-rw-r--r--nuttx/libc/termios/lib_cfsetspeed.c2
-rw-r--r--nuttx/libc/termios/lib_tcflush.c2
-rw-r--r--nuttx/libc/termios/lib_tcgetattr.c2
-rw-r--r--nuttx/libc/termios/lib_tcsetattr.c2
-rw-r--r--nuttx/libc/time/Make.defs2
-rw-r--r--nuttx/libc/time/lib_calendar2utc.c2
-rw-r--r--nuttx/libc/time/lib_daysbeforemonth.c2
-rw-r--r--nuttx/libc/time/lib_gmtime.c2
-rw-r--r--nuttx/libc/time/lib_gmtimer.c2
-rw-r--r--nuttx/libc/time/lib_isleapyear.c2
-rw-r--r--nuttx/libc/time/lib_mktime.c2
-rw-r--r--nuttx/libc/time/lib_strftime.c2
-rw-r--r--nuttx/libc/time/lib_time.c2
-rw-r--r--nuttx/libc/unistd/Make.defs2
-rw-r--r--nuttx/libc/unistd/lib_chdir.c2
-rw-r--r--nuttx/libc/unistd/lib_getcwd.c2
-rw-r--r--nuttx/libc/unistd/lib_getopt.c2
-rw-r--r--nuttx/libc/unistd/lib_getoptargp.c2
-rw-r--r--nuttx/libc/unistd/lib_getoptindp.c2
-rw-r--r--nuttx/libc/unistd/lib_getoptoptp.c2
284 files changed, 637 insertions, 637 deletions
diff --git a/nuttx/libc/Kconfig b/nuttx/libc/Kconfig
index 1c93bb047..bd470be7f 100644
--- a/nuttx/libc/Kconfig
+++ b/nuttx/libc/Kconfig
@@ -30,7 +30,7 @@ config LIB_HOMEDIR
---help---
The home directory to use with operations like such as 'cd ~'
-source lib/math/Kconfig
+source libc/math/Kconfig
config NOPRINTF_FIELDWIDTH
bool "Disable sprintf support fieldwidth"
diff --git a/nuttx/libc/Makefile b/nuttx/libc/Makefile
index 406c2276e..318816ba7 100644
--- a/nuttx/libc/Makefile
+++ b/nuttx/libc/Makefile
@@ -1,5 +1,5 @@
############################################################################
-# lib/Makefile
+# libc/Makefile
#
# Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
@@ -66,9 +66,9 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
-UBIN = libulib$(LIBEXT)
-KBIN = libklib$(LIBEXT)
-BIN = liblib$(LIBEXT)
+UBIN = libuc$(LIBEXT)
+KBIN = libkc$(LIBEXT)
+BIN = libc$(LIBEXT)
all: $(BIN)
diff --git a/nuttx/libc/README.txt b/nuttx/libc/README.txt
index e99304841..ed672d038 100644
--- a/nuttx/libc/README.txt
+++ b/nuttx/libc/README.txt
@@ -21,7 +21,7 @@ it is critical to separate the user-mode OS interfaces in this way.
Sub-Directories
===============
-The files in the lib/ directory are organized (mostly) according which file
+The files in the libc/ directory are organized (mostly) according which file
in the include/ directory provides the prototype for library functions. So
we have:
diff --git a/nuttx/libc/dirent/Make.defs b/nuttx/libc/dirent/Make.defs
index cc1d6b783..f2927bed8 100644
--- a/nuttx/libc/dirent/Make.defs
+++ b/nuttx/libc/dirent/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/dirent/Make.defs
+# libc/dirent/Make.defs
#
# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/dirent/lib_readdirr.c b/nuttx/libc/dirent/lib_readdirr.c
index 47c5b9a7b..93c99ac28 100644
--- a/nuttx/libc/dirent/lib_readdirr.c
+++ b/nuttx/libc/dirent/lib_readdirr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/dirent/lib_readdirr.c
+ * libc/dirent/lib_readdirr.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/dirent/lib_telldir.c b/nuttx/libc/dirent/lib_telldir.c
index 3753b326e..f77a4a1c2 100644
--- a/nuttx/libc/dirent/lib_telldir.c
+++ b/nuttx/libc/dirent/lib_telldir.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/dirent/fs_telldir.c
+ * libc/dirent/fs_telldir.c
*
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/fixedmath/Make.defs b/nuttx/libc/fixedmath/Make.defs
index 578e33015..b53df2b2c 100644
--- a/nuttx/libc/fixedmath/Make.defs
+++ b/nuttx/libc/fixedmath/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/fixedmath/Make.defs
+# libc/fixedmath/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/fixedmath/lib_b16atan2.c b/nuttx/libc/fixedmath/lib_b16atan2.c
index 69d132f80..443ab7be3 100644
--- a/nuttx/libc/fixedmath/lib_b16atan2.c
+++ b/nuttx/libc/fixedmath/lib_b16atan2.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/fixedmath/lib_b16atan2.c
+ * libc/fixedmath/lib_b16atan2.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/fixedmath/lib_b16cos.c b/nuttx/libc/fixedmath/lib_b16cos.c
index 3e9229029..0ebe48262 100644
--- a/nuttx/libc/fixedmath/lib_b16cos.c
+++ b/nuttx/libc/fixedmath/lib_b16cos.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/fixedmath/lib_b16cos.c
+ * libc/fixedmath/lib_b16cos.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/fixedmath/lib_b16sin.c b/nuttx/libc/fixedmath/lib_b16sin.c
index 491b0ec78..9cd2f0da3 100644
--- a/nuttx/libc/fixedmath/lib_b16sin.c
+++ b/nuttx/libc/fixedmath/lib_b16sin.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/fixedmath/lib_b16sin.c
+ * libc/fixedmath/lib_b16sin.c
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/fixedmath/lib_fixedmath.c b/nuttx/libc/fixedmath/lib_fixedmath.c
index c1a710e73..9e9213b4f 100644
--- a/nuttx/libc/fixedmath/lib_fixedmath.c
+++ b/nuttx/libc/fixedmath/lib_fixedmath.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/math/lib_fixedmath.c
+ * libc/math/lib_fixedmath.c
*
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/fixedmath/lib_rint.c b/nuttx/libc/fixedmath/lib_rint.c
index 3a6407b8c..a1212c970 100644
--- a/nuttx/libc/fixedmath/lib_rint.c
+++ b/nuttx/libc/fixedmath/lib_rint.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/fixedmath/lib_rint.c
+ * libc/fixedmath/lib_rint.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/lib_internal.h b/nuttx/libc/lib_internal.h
index 5da0ac924..c09c751d4 100644
--- a/nuttx/libc/lib_internal.h
+++ b/nuttx/libc/lib_internal.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/lib_internal.h
+ * libc/lib_internal.h
*
* Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/libgen/Make.defs b/nuttx/libc/libgen/Make.defs
index f12645512..6e786655d 100644
--- a/nuttx/libc/libgen/Make.defs
+++ b/nuttx/libc/libgen/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/libgen/Make.defs
+# libc/libgen/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/libgen/lib_basename.c b/nuttx/libc/libgen/lib_basename.c
index 986c6b852..68188edbf 100644
--- a/nuttx/libc/libgen/lib_basename.c
+++ b/nuttx/libc/libgen/lib_basename.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/libgen/lib_basename.c
+ * libc/libgen/lib_basename.c
*
* Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/libgen/lib_dirname.c b/nuttx/libc/libgen/lib_dirname.c
index 248293a60..6d076fd61 100644
--- a/nuttx/libc/libgen/lib_dirname.c
+++ b/nuttx/libc/libgen/lib_dirname.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/libgen/lib_dirname.c
+ * libc/libgen/lib_dirname.c
*
* Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/math/Make.defs b/nuttx/libc/math/Make.defs
index 73d0be6f3..bc6a265f0 100644
--- a/nuttx/libc/math/Make.defs
+++ b/nuttx/libc/math/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/math/Make.defs
+# libc/math/Make.defs
#
# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/math/lib_acos.c b/nuttx/libc/math/lib_acos.c
index d5ec36b9f..147003237 100644
--- a/nuttx/libc/math/lib_acos.c
+++ b/nuttx/libc/math/lib_acos.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_acos.c
+ * libc/math/lib_acos.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_acosf.c b/nuttx/libc/math/lib_acosf.c
index e14a73a6e..447b2767f 100644
--- a/nuttx/libc/math/lib_acosf.c
+++ b/nuttx/libc/math/lib_acosf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_acosf.c
+ * libc/math/lib_acosf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_acosl.c b/nuttx/libc/math/lib_acosl.c
index 911330577..a0f226238 100644
--- a/nuttx/libc/math/lib_acosl.c
+++ b/nuttx/libc/math/lib_acosl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_acos.c
+ * libc/math/lib_acos.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_asin.c b/nuttx/libc/math/lib_asin.c
index 61b953531..d9941a7e5 100644
--- a/nuttx/libc/math/lib_asin.c
+++ b/nuttx/libc/math/lib_asin.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sin.c
+ * libc/math/lib_sin.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_asinf.c b/nuttx/libc/math/lib_asinf.c
index 17669a934..57e518acb 100644
--- a/nuttx/libc/math/lib_asinf.c
+++ b/nuttx/libc/math/lib_asinf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sinf.c
+ * libc/math/lib_sinf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_asinl.c b/nuttx/libc/math/lib_asinl.c
index dbb2bc3a2..19f284e53 100644
--- a/nuttx/libc/math/lib_asinl.c
+++ b/nuttx/libc/math/lib_asinl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sinl.c
+ * libc/math/lib_sinl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_atan.c b/nuttx/libc/math/lib_atan.c
index b4db8fb31..44d68ece2 100644
--- a/nuttx/libc/math/lib_atan.c
+++ b/nuttx/libc/math/lib_atan.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_atan.c
+ * libc/math/lib_atan.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_atan2.c b/nuttx/libc/math/lib_atan2.c
index 82d1f47ec..6d7d2ad48 100644
--- a/nuttx/libc/math/lib_atan2.c
+++ b/nuttx/libc/math/lib_atan2.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_atan2.c
+ * libc/math/lib_atan2.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_atan2f.c b/nuttx/libc/math/lib_atan2f.c
index a60d32c65..7ff9af130 100644
--- a/nuttx/libc/math/lib_atan2f.c
+++ b/nuttx/libc/math/lib_atan2f.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_atan2f.c
+ * libc/math/lib_atan2f.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_atan2l.c b/nuttx/libc/math/lib_atan2l.c
index 07fcd9669..48bfd06f3 100644
--- a/nuttx/libc/math/lib_atan2l.c
+++ b/nuttx/libc/math/lib_atan2l.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_atan2l.c
+ * libc/math/lib_atan2l.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_atanf.c b/nuttx/libc/math/lib_atanf.c
index 7c540dd16..a84605787 100644
--- a/nuttx/libc/math/lib_atanf.c
+++ b/nuttx/libc/math/lib_atanf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_atanf.c
+ * libc/math/lib_atanf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_atanl.c b/nuttx/libc/math/lib_atanl.c
index 0fa203098..752d49307 100644
--- a/nuttx/libc/math/lib_atanl.c
+++ b/nuttx/libc/math/lib_atanl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_atanl.c
+ * libc/math/lib_atanl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_ceil.c b/nuttx/libc/math/lib_ceil.c
index 0e7602996..3c6678dc1 100644
--- a/nuttx/libc/math/lib_ceil.c
+++ b/nuttx/libc/math/lib_ceil.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_ceil.c
+ * libc/math/lib_ceil.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_ceilf.c b/nuttx/libc/math/lib_ceilf.c
index 0721ffc22..afbe2cf13 100644
--- a/nuttx/libc/math/lib_ceilf.c
+++ b/nuttx/libc/math/lib_ceilf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_ceilf.c
+ * libc/math/lib_ceilf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_ceill.c b/nuttx/libc/math/lib_ceill.c
index a24b56f68..757016b53 100644
--- a/nuttx/libc/math/lib_ceill.c
+++ b/nuttx/libc/math/lib_ceill.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_ceil;.c
+ * libc/math/lib_ceil;.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_cos.c b/nuttx/libc/math/lib_cos.c
index aa672b855..4b4e1a20b 100644
--- a/nuttx/libc/math/lib_cos.c
+++ b/nuttx/libc/math/lib_cos.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_cos.c
+ * libc/math/lib_cos.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_cosf.c b/nuttx/libc/math/lib_cosf.c
index 093a8a002..d9ac951f6 100644
--- a/nuttx/libc/math/lib_cosf.c
+++ b/nuttx/libc/math/lib_cosf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_cosf.c
+ * libc/math/lib_cosf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_cosh.c b/nuttx/libc/math/lib_cosh.c
index 1be44d293..3246ea5f9 100644
--- a/nuttx/libc/math/lib_cosh.c
+++ b/nuttx/libc/math/lib_cosh.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_cosh.c
+ * libc/math/lib_cosh.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_coshf.c b/nuttx/libc/math/lib_coshf.c
index d5e5ea14d..f0c28ab2e 100644
--- a/nuttx/libc/math/lib_coshf.c
+++ b/nuttx/libc/math/lib_coshf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_coshf.c
+ * libc/math/lib_coshf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_coshl.c b/nuttx/libc/math/lib_coshl.c
index 4576b8876..957ec61a7 100644
--- a/nuttx/libc/math/lib_coshl.c
+++ b/nuttx/libc/math/lib_coshl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_coshl.c
+ * libc/math/lib_coshl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_cosl.c b/nuttx/libc/math/lib_cosl.c
index 25dd86139..972d4aa9d 100644
--- a/nuttx/libc/math/lib_cosl.c
+++ b/nuttx/libc/math/lib_cosl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_cosl.c
+ * libc/math/lib_cosl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_exp.c b/nuttx/libc/math/lib_exp.c
index 1e3120453..62494251d 100644
--- a/nuttx/libc/math/lib_exp.c
+++ b/nuttx/libc/math/lib_exp.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_exp.c
+ * libc/math/lib_exp.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_expf.c b/nuttx/libc/math/lib_expf.c
index eac4641c6..3e43c54a6 100644
--- a/nuttx/libc/math/lib_expf.c
+++ b/nuttx/libc/math/lib_expf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_expf.c
+ * libc/math/lib_expf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_expl.c b/nuttx/libc/math/lib_expl.c
index 053103c9b..231faa35f 100644
--- a/nuttx/libc/math/lib_expl.c
+++ b/nuttx/libc/math/lib_expl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_expl.c
+ * libc/math/lib_expl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_fabs.c b/nuttx/libc/math/lib_fabs.c
index ff99ceb64..774755087 100644
--- a/nuttx/libc/math/lib_fabs.c
+++ b/nuttx/libc/math/lib_fabs.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_fabs.c
+ * libc/math/lib_fabs.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_fabsf.c b/nuttx/libc/math/lib_fabsf.c
index 0ea186ca0..4c8ebae62 100644
--- a/nuttx/libc/math/lib_fabsf.c
+++ b/nuttx/libc/math/lib_fabsf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_fabsf.c
+ * libc/math/lib_fabsf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_fabsl.c b/nuttx/libc/math/lib_fabsl.c
index 5313d897d..96ac7d5db 100644
--- a/nuttx/libc/math/lib_fabsl.c
+++ b/nuttx/libc/math/lib_fabsl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_fabsl.c
+ * libc/math/lib_fabsl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_floor.c b/nuttx/libc/math/lib_floor.c
index f0c4477a0..3330607ce 100644
--- a/nuttx/libc/math/lib_floor.c
+++ b/nuttx/libc/math/lib_floor.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_floor.c
+ * libc/math/lib_floor.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_floorf.c b/nuttx/libc/math/lib_floorf.c
index 2becb5fac..81483d4c9 100644
--- a/nuttx/libc/math/lib_floorf.c
+++ b/nuttx/libc/math/lib_floorf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_floorf.c
+ * libc/math/lib_floorf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_floorl.c b/nuttx/libc/math/lib_floorl.c
index e38ce80ed..0d9ec43b4 100644
--- a/nuttx/libc/math/lib_floorl.c
+++ b/nuttx/libc/math/lib_floorl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_floorl.c
+ * libc/math/lib_floorl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_fmod.c b/nuttx/libc/math/lib_fmod.c
index 939e7e18a..c66210cde 100644
--- a/nuttx/libc/math/lib_fmod.c
+++ b/nuttx/libc/math/lib_fmod.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_fmod.c
+ * libc/math/lib_fmod.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_fmodf.c b/nuttx/libc/math/lib_fmodf.c
index 085786f17..d70bb791c 100644
--- a/nuttx/libc/math/lib_fmodf.c
+++ b/nuttx/libc/math/lib_fmodf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_fmodf.c
+ * libc/math/lib_fmodf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_fmodl.c b/nuttx/libc/math/lib_fmodl.c
index 51c5e95ec..1299bf6e8 100644
--- a/nuttx/libc/math/lib_fmodl.c
+++ b/nuttx/libc/math/lib_fmodl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_fmodl.c
+ * libc/math/lib_fmodl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_frexp.c b/nuttx/libc/math/lib_frexp.c
index 56feee863..b9576dfd4 100644
--- a/nuttx/libc/math/lib_frexp.c
+++ b/nuttx/libc/math/lib_frexp.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_frexp.c
+ * libc/math/lib_frexp.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_frexpf.c b/nuttx/libc/math/lib_frexpf.c
index 1fb0df3d8..d93ffb173 100644
--- a/nuttx/libc/math/lib_frexpf.c
+++ b/nuttx/libc/math/lib_frexpf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_frexpf.c
+ * libc/math/lib_frexpf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_frexpl.c b/nuttx/libc/math/lib_frexpl.c
index 87708ad86..90993b137 100644
--- a/nuttx/libc/math/lib_frexpl.c
+++ b/nuttx/libc/math/lib_frexpl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_frexpl.c
+ * libc/math/lib_frexpl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_ldexp.c b/nuttx/libc/math/lib_ldexp.c
index 4c7b2b721..9b74d53d7 100644
--- a/nuttx/libc/math/lib_ldexp.c
+++ b/nuttx/libc/math/lib_ldexp.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_ldexp.c
+ * libc/math/lib_ldexp.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_ldexpf.c b/nuttx/libc/math/lib_ldexpf.c
index c61d633d5..f3aaf555b 100644
--- a/nuttx/libc/math/lib_ldexpf.c
+++ b/nuttx/libc/math/lib_ldexpf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_ldexpf.c
+ * libc/math/lib_ldexpf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_ldexpl.c b/nuttx/libc/math/lib_ldexpl.c
index b9a0f4a86..29764aaba 100644
--- a/nuttx/libc/math/lib_ldexpl.c
+++ b/nuttx/libc/math/lib_ldexpl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_ldexpl.c
+ * libc/math/lib_ldexpl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_libexpi.c b/nuttx/libc/math/lib_libexpi.c
index 1ec947a71..33ba537b1 100644
--- a/nuttx/libc/math/lib_libexpi.c
+++ b/nuttx/libc/math/lib_libexpi.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_libexpi.c
+ * libc/math/lib_libexpi.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_libsqrtapprox.c b/nuttx/libc/math/lib_libsqrtapprox.c
index 5c556c3a0..b6a9b0d54 100644
--- a/nuttx/libc/math/lib_libsqrtapprox.c
+++ b/nuttx/libc/math/lib_libsqrtapprox.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_libsqrtapprox.c
+ * libc/math/lib_libsqrtapprox.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_log.c b/nuttx/libc/math/lib_log.c
index 1350ba4fe..7156f6b41 100644
--- a/nuttx/libc/math/lib_log.c
+++ b/nuttx/libc/math/lib_log.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_log.c
+ * libc/math/lib_log.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_log10.c b/nuttx/libc/math/lib_log10.c
index 47854fca4..9daa91492 100644
--- a/nuttx/libc/math/lib_log10.c
+++ b/nuttx/libc/math/lib_log10.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_log10.c
+ * libc/math/lib_log10.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_log10f.c b/nuttx/libc/math/lib_log10f.c
index 651071920..778daedd5 100644
--- a/nuttx/libc/math/lib_log10f.c
+++ b/nuttx/libc/math/lib_log10f.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_log10f.c
+ * libc/math/lib_log10f.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_log10l.c b/nuttx/libc/math/lib_log10l.c
index 65892262a..efbeb721b 100644
--- a/nuttx/libc/math/lib_log10l.c
+++ b/nuttx/libc/math/lib_log10l.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_log10l.c
+ * libc/math/lib_log10l.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_log2.c b/nuttx/libc/math/lib_log2.c
index 0aa1e8010..4da39acdc 100644
--- a/nuttx/libc/math/lib_log2.c
+++ b/nuttx/libc/math/lib_log2.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_log2.c
+ * libc/math/lib_log2.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_log2f.c b/nuttx/libc/math/lib_log2f.c
index e160ca59e..f514e5a9e 100644
--- a/nuttx/libc/math/lib_log2f.c
+++ b/nuttx/libc/math/lib_log2f.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_log2f.c
+ * libc/math/lib_log2f.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_log2l.c b/nuttx/libc/math/lib_log2l.c
index 21d26d4d7..21e80a930 100644
--- a/nuttx/libc/math/lib_log2l.c
+++ b/nuttx/libc/math/lib_log2l.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_log2l.c
+ * libc/math/lib_log2l.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_logf.c b/nuttx/libc/math/lib_logf.c
index 1d31aa0c0..3815fef84 100644
--- a/nuttx/libc/math/lib_logf.c
+++ b/nuttx/libc/math/lib_logf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_logf.c
+ * libc/math/lib_logf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_logl.c b/nuttx/libc/math/lib_logl.c
index 577f9cee2..612816011 100644
--- a/nuttx/libc/math/lib_logl.c
+++ b/nuttx/libc/math/lib_logl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_lol.c
+ * libc/math/lib_lol.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_modf.c b/nuttx/libc/math/lib_modf.c
index 9dc6284c2..f3f25f6fb 100644
--- a/nuttx/libc/math/lib_modf.c
+++ b/nuttx/libc/math/lib_modf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_modf.c
+ * libc/math/lib_modf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_modff.c b/nuttx/libc/math/lib_modff.c
index 4eec2ae17..28d3a3ae0 100644
--- a/nuttx/libc/math/lib_modff.c
+++ b/nuttx/libc/math/lib_modff.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_modff.c
+ * libc/math/lib_modff.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_modfl.c b/nuttx/libc/math/lib_modfl.c
index 3b04571f3..77bba0e0c 100644
--- a/nuttx/libc/math/lib_modfl.c
+++ b/nuttx/libc/math/lib_modfl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_modfl.c
+ * libc/math/lib_modfl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_pow.c b/nuttx/libc/math/lib_pow.c
index af0a55d32..a19d491fa 100644
--- a/nuttx/libc/math/lib_pow.c
+++ b/nuttx/libc/math/lib_pow.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_pow.c
+ * libc/math/lib_pow.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_powf.c b/nuttx/libc/math/lib_powf.c
index a43f9cf82..570904898 100644
--- a/nuttx/libc/math/lib_powf.c
+++ b/nuttx/libc/math/lib_powf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_powf.c
+ * libc/math/lib_powf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_powl.c b/nuttx/libc/math/lib_powl.c
index f5fbf042e..81438217c 100644
--- a/nuttx/libc/math/lib_powl.c
+++ b/nuttx/libc/math/lib_powl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_powl.c
+ * libc/math/lib_powl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sin.c b/nuttx/libc/math/lib_sin.c
index c04d6b88b..e005d98cb 100644
--- a/nuttx/libc/math/lib_sin.c
+++ b/nuttx/libc/math/lib_sin.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sin.c
+ * libc/math/lib_sin.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sinf.c b/nuttx/libc/math/lib_sinf.c
index e298bbba4..9e493d8ef 100644
--- a/nuttx/libc/math/lib_sinf.c
+++ b/nuttx/libc/math/lib_sinf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sinf.c
+ * libc/math/lib_sinf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sinh.c b/nuttx/libc/math/lib_sinh.c
index f33852433..0c3e2d11d 100644
--- a/nuttx/libc/math/lib_sinh.c
+++ b/nuttx/libc/math/lib_sinh.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sinh.c
+ * libc/math/lib_sinh.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sinhf.c b/nuttx/libc/math/lib_sinhf.c
index e15cb14dc..e9d198440 100644
--- a/nuttx/libc/math/lib_sinhf.c
+++ b/nuttx/libc/math/lib_sinhf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sinhf.c
+ * libc/math/lib_sinhf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sinhl.c b/nuttx/libc/math/lib_sinhl.c
index b0fea2914..a1bcad81e 100644
--- a/nuttx/libc/math/lib_sinhl.c
+++ b/nuttx/libc/math/lib_sinhl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sinhl.c
+ * libc/math/lib_sinhl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sinl.c b/nuttx/libc/math/lib_sinl.c
index a69b548cb..6ed539a39 100644
--- a/nuttx/libc/math/lib_sinl.c
+++ b/nuttx/libc/math/lib_sinl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sinl.c
+ * libc/math/lib_sinl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sqrt.c b/nuttx/libc/math/lib_sqrt.c
index d77997f7c..e8a1c42ea 100644
--- a/nuttx/libc/math/lib_sqrt.c
+++ b/nuttx/libc/math/lib_sqrt.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sqrt.c
+ * libc/math/lib_sqrt.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sqrtf.c b/nuttx/libc/math/lib_sqrtf.c
index 81817a040..cf45ccacc 100644
--- a/nuttx/libc/math/lib_sqrtf.c
+++ b/nuttx/libc/math/lib_sqrtf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sqrtf.c
+ * libc/math/lib_sqrtf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_sqrtl.c b/nuttx/libc/math/lib_sqrtl.c
index 6674fe50f..4035992fe 100644
--- a/nuttx/libc/math/lib_sqrtl.c
+++ b/nuttx/libc/math/lib_sqrtl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_sqrtl.c
+ * libc/math/lib_sqrtl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_tan.c b/nuttx/libc/math/lib_tan.c
index bce14b327..4c091c09b 100644
--- a/nuttx/libc/math/lib_tan.c
+++ b/nuttx/libc/math/lib_tan.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_tan.c
+ * libc/math/lib_tan.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_tanf.c b/nuttx/libc/math/lib_tanf.c
index 3db3bda26..0c9110a0b 100644
--- a/nuttx/libc/math/lib_tanf.c
+++ b/nuttx/libc/math/lib_tanf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_tanf.c
+ * libc/math/lib_tanf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_tanh.c b/nuttx/libc/math/lib_tanh.c
index 46fddd06d..3b9ea0f41 100644
--- a/nuttx/libc/math/lib_tanh.c
+++ b/nuttx/libc/math/lib_tanh.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_tanh.c
+ * libc/math/lib_tanh.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_tanhf.c b/nuttx/libc/math/lib_tanhf.c
index 94d15cc60..43d418204 100644
--- a/nuttx/libc/math/lib_tanhf.c
+++ b/nuttx/libc/math/lib_tanhf.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_tanhf.c
+ * libc/math/lib_tanhf.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_tanhl.c b/nuttx/libc/math/lib_tanhl.c
index 23c11d667..5aafd1e7b 100644
--- a/nuttx/libc/math/lib_tanhl.c
+++ b/nuttx/libc/math/lib_tanhl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_tanhl.c
+ * libc/math/lib_tanhl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/math/lib_tanl.c b/nuttx/libc/math/lib_tanl.c
index 4973aa073..e77abe0f1 100644
--- a/nuttx/libc/math/lib_tanl.c
+++ b/nuttx/libc/math/lib_tanl.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/math/lib_tanl.c
+ * libc/math/lib_tanl.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/misc/Make.defs b/nuttx/libc/misc/Make.defs
index c12533f75..f4284ac60 100644
--- a/nuttx/libc/misc/Make.defs
+++ b/nuttx/libc/misc/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/misc/Make.defs
+# libc/misc/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/misc/lib_crc32.c b/nuttx/libc/misc/lib_crc32.c
index f851598e0..ae73ba3d7 100644
--- a/nuttx/libc/misc/lib_crc32.c
+++ b/nuttx/libc/misc/lib_crc32.c
@@ -1,5 +1,5 @@
/************************************************************************************************
- * lib/misc/lib_crc32.c
+ * libc/misc/lib_crc32.c
*
* This file is a part of NuttX:
*
diff --git a/nuttx/libc/misc/lib_dbg.c b/nuttx/libc/misc/lib_dbg.c
index aacdaa30a..5605ff828 100644
--- a/nuttx/libc/misc/lib_dbg.c
+++ b/nuttx/libc/misc/lib_dbg.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/misc/lib_dbg.c
+ * libc/misc/lib_dbg.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/misc/lib_dumpbuffer.c b/nuttx/libc/misc/lib_dumpbuffer.c
index 155468ca1..52158b220 100644
--- a/nuttx/libc/misc/lib_dumpbuffer.c
+++ b/nuttx/libc/misc/lib_dumpbuffer.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/misc/lib_dumpbuffer.c
+ * libc/misc/lib_dumpbuffer.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/misc/lib_filesem.c b/nuttx/libc/misc/lib_filesem.c
index 1d1f25c2f..5cc4624ec 100644
--- a/nuttx/libc/misc/lib_filesem.c
+++ b/nuttx/libc/misc/lib_filesem.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/misc/lib_filesem.c
+ * libc/misc/lib_filesem.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/misc/lib_init.c b/nuttx/libc/misc/lib_init.c
index 3403a837b..6a120f7b1 100644
--- a/nuttx/libc/misc/lib_init.c
+++ b/nuttx/libc/misc/lib_init.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/misc/lib_init.c
+ * libc/misc/lib_init.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/misc/lib_match.c b/nuttx/libc/misc/lib_match.c
index 18e0632ec..a8cfad329 100644
--- a/nuttx/libc/misc/lib_match.c
+++ b/nuttx/libc/misc/lib_match.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/misc/lib_match.c - simple shell-style filename matcher
+ * libc/misc/lib_match.c - simple shell-style filename matcher
*
* Simple shell-style filename pattern matcher written by Jef Poskanzer
* This pattern matcher only handles '?', '*' and '**', and multiple
diff --git a/nuttx/libc/misc/lib_sendfile.c b/nuttx/libc/misc/lib_sendfile.c
index a82eb325e..8a38dc317 100644
--- a/nuttx/libc/misc/lib_sendfile.c
+++ b/nuttx/libc/misc/lib_sendfile.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/misc/lib_streamsem.c
+ * libc/misc/lib_streamsem.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/misc/lib_streamsem.c b/nuttx/libc/misc/lib_streamsem.c
index fdf494e75..e38298bdb 100644
--- a/nuttx/libc/misc/lib_streamsem.c
+++ b/nuttx/libc/misc/lib_streamsem.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/misc/lib_streamsem.c
+ * libc/misc/lib_streamsem.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/mqueue/Make.defs b/nuttx/libc/mqueue/Make.defs
index 40dc6c13e..826970fa3 100644
--- a/nuttx/libc/mqueue/Make.defs
+++ b/nuttx/libc/mqueue/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/mqueue/Make.defs
+# libc/mqueue/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/mqueue/mq_getattr.c b/nuttx/libc/mqueue/mq_getattr.c
index 9c9f47fdc..2fc0e131b 100644
--- a/nuttx/libc/mqueue/mq_getattr.c
+++ b/nuttx/libc/mqueue/mq_getattr.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/mqueue/mq_getattr.c
+ * libc/mqueue/mq_getattr.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/mqueue/mq_setattr.c b/nuttx/libc/mqueue/mq_setattr.c
index 1276d64e8..45a848e6d 100644
--- a/nuttx/libc/mqueue/mq_setattr.c
+++ b/nuttx/libc/mqueue/mq_setattr.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/mqueue/mq_setattr.c
+ * libc/mqueue/mq_setattr.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/net/Make.defs b/nuttx/libc/net/Make.defs
index ae041bd2c..9d4e5c06b 100644
--- a/nuttx/libc/net/Make.defs
+++ b/nuttx/libc/net/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/net/Make.defs
+# libc/net/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/net/lib_etherntoa.c b/nuttx/libc/net/lib_etherntoa.c
index f89f205a2..91fb01c57 100644
--- a/nuttx/libc/net/lib_etherntoa.c
+++ b/nuttx/libc/net/lib_etherntoa.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/net/lib_etherntoa.c
+ * libc/net/lib_etherntoa.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/net/lib_htonl.c b/nuttx/libc/net/lib_htonl.c
index e4c3e5383..a10f54f37 100644
--- a/nuttx/libc/net/lib_htonl.c
+++ b/nuttx/libc/net/lib_htonl.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/net/lib_ntohl.c
+ * libc/net/lib_ntohl.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/net/lib_htons.c b/nuttx/libc/net/lib_htons.c
index b4117e1dc..13addd913 100644
--- a/nuttx/libc/net/lib_htons.c
+++ b/nuttx/libc/net/lib_htons.c
@@ -1,5 +1,5 @@
/***************************************************************************
- * lib/net/lib_htons.c
+ * libc/net/lib_htons.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/net/lib_inetaddr.c b/nuttx/libc/net/lib_inetaddr.c
index 48b01d682..46c6c548d 100644
--- a/nuttx/libc/net/lib_inetaddr.c
+++ b/nuttx/libc/net/lib_inetaddr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/net/lib_inetaddr.c
+ * libc/net/lib_inetaddr.c
*
* Copyright (C) 2011 Yu Qiang. All rights reserved.
* Author: Yu Qiang <yuq825@gmail.com>
diff --git a/nuttx/libc/net/lib_inetntoa.c b/nuttx/libc/net/lib_inetntoa.c
index 0f4fb61df..e2d92d864 100644
--- a/nuttx/libc/net/lib_inetntoa.c
+++ b/nuttx/libc/net/lib_inetntoa.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/net/lib_inetntoa.c
+ * libc/net/lib_inetntoa.c
*
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/net/lib_inetntop.c b/nuttx/libc/net/lib_inetntop.c
index dc6a2d0d7..25c32c48c 100644
--- a/nuttx/libc/net/lib_inetntop.c
+++ b/nuttx/libc/net/lib_inetntop.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/net/lib_inetntop.c
+ * libc/net/lib_inetntop.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/net/lib_inetpton.c b/nuttx/libc/net/lib_inetpton.c
index 5371cd3f2..c5f117535 100644
--- a/nuttx/libc/net/lib_inetpton.c
+++ b/nuttx/libc/net/lib_inetpton.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/net/lib_inetpton.c
+ * libc/net/lib_inetpton.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/Make.defs b/nuttx/libc/pthread/Make.defs
index a1eba7bb0..07e4f0570 100644
--- a/nuttx/libc/pthread/Make.defs
+++ b/nuttx/libc/pthread/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/pthread/Make.defs
+# libc/pthread/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrdestroy.c b/nuttx/libc/pthread/pthread_attrdestroy.c
index 103528c7e..37ad46ebc 100644
--- a/nuttx/libc/pthread/pthread_attrdestroy.c
+++ b/nuttx/libc/pthread/pthread_attrdestroy.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrdestroy.c
+ * libc/pthread/pthread_attrdestroy.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrgetinheritsched.c b/nuttx/libc/pthread/pthread_attrgetinheritsched.c
index 02d6e0b7c..6ec8ae71f 100644
--- a/nuttx/libc/pthread/pthread_attrgetinheritsched.c
+++ b/nuttx/libc/pthread/pthread_attrgetinheritsched.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrgetinheritsched.c
+ * libc/pthread/pthread_attrgetinheritsched.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrgetschedparam.c b/nuttx/libc/pthread/pthread_attrgetschedparam.c
index c6bf55dea..6bcc9618e 100644
--- a/nuttx/libc/pthread/pthread_attrgetschedparam.c
+++ b/nuttx/libc/pthread/pthread_attrgetschedparam.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrgetschedparam.c
+ * libc/pthread/pthread_attrgetschedparam.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrgetschedpolicy.c b/nuttx/libc/pthread/pthread_attrgetschedpolicy.c
index c42b828c9..8845e2bd8 100644
--- a/nuttx/libc/pthread/pthread_attrgetschedpolicy.c
+++ b/nuttx/libc/pthread/pthread_attrgetschedpolicy.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrgetschedpolicy.c
+ * libc/pthread/pthread_attrgetschedpolicy.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrgetstacksize.c b/nuttx/libc/pthread/pthread_attrgetstacksize.c
index 2faa586ba..9fde29e81 100644
--- a/nuttx/libc/pthread/pthread_attrgetstacksize.c
+++ b/nuttx/libc/pthread/pthread_attrgetstacksize.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrgetstacksize.c
+ * libc/pthread/pthread_attrgetstacksize.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrinit.c b/nuttx/libc/pthread/pthread_attrinit.c
index d06a535d7..427a582b9 100644
--- a/nuttx/libc/pthread/pthread_attrinit.c
+++ b/nuttx/libc/pthread/pthread_attrinit.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrinit.c
+ * libc/pthread/pthread_attrinit.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrsetinheritsched.c b/nuttx/libc/pthread/pthread_attrsetinheritsched.c
index df2c2fba3..1102fe176 100644
--- a/nuttx/libc/pthread/pthread_attrsetinheritsched.c
+++ b/nuttx/libc/pthread/pthread_attrsetinheritsched.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrsetinheritsched.c
+ * libc/pthread/pthread_attrsetinheritsched.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrsetschedparam.c b/nuttx/libc/pthread/pthread_attrsetschedparam.c
index c2ab4d1c4..587d62206 100644
--- a/nuttx/libc/pthread/pthread_attrsetschedparam.c
+++ b/nuttx/libc/pthread/pthread_attrsetschedparam.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrsetschedparam.c
+ * libc/pthread/pthread_attrsetschedparam.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrsetschedpolicy.c b/nuttx/libc/pthread/pthread_attrsetschedpolicy.c
index 4e43e635d..e1d1c8619 100644
--- a/nuttx/libc/pthread/pthread_attrsetschedpolicy.c
+++ b/nuttx/libc/pthread/pthread_attrsetschedpolicy.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrsetschedpolicy.c
+ * libc/pthread/pthread_attrsetschedpolicy.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_attrsetstacksize.c b/nuttx/libc/pthread/pthread_attrsetstacksize.c
index 8a826dd3a..fca993baf 100644
--- a/nuttx/libc/pthread/pthread_attrsetstacksize.c
+++ b/nuttx/libc/pthread/pthread_attrsetstacksize.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_attrsetstacksize.c
+ * libc/pthread/pthread_attrsetstacksize.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_barrierattrdestroy.c b/nuttx/libc/pthread/pthread_barrierattrdestroy.c
index 6d16b9cff..5519caa61 100644
--- a/nuttx/libc/pthread/pthread_barrierattrdestroy.c
+++ b/nuttx/libc/pthread/pthread_barrierattrdestroy.c
@@ -1,5 +1,5 @@
/********************************************************************************
- * lib/pthread/pthread_barrierattrdestroy.c
+ * libc/pthread/pthread_barrierattrdestroy.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_barrierattrgetpshared.c b/nuttx/libc/pthread/pthread_barrierattrgetpshared.c
index d29bc6dfc..83faffae0 100644
--- a/nuttx/libc/pthread/pthread_barrierattrgetpshared.c
+++ b/nuttx/libc/pthread/pthread_barrierattrgetpshared.c
@@ -1,5 +1,5 @@
/********************************************************************************
- * lib/pthread/pthread_barrierattrgetpshared.c
+ * libc/pthread/pthread_barrierattrgetpshared.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_barrierattrinit.c b/nuttx/libc/pthread/pthread_barrierattrinit.c
index b5f35ca91..7ab101883 100644
--- a/nuttx/libc/pthread/pthread_barrierattrinit.c
+++ b/nuttx/libc/pthread/pthread_barrierattrinit.c
@@ -1,5 +1,5 @@
/********************************************************************************
- * lib/pthread/pthread_barrierattrinit.c
+ * libc/pthread/pthread_barrierattrinit.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_barrierattrsetpshared.c b/nuttx/libc/pthread/pthread_barrierattrsetpshared.c
index d0eecbf5a..2585de7a0 100644
--- a/nuttx/libc/pthread/pthread_barrierattrsetpshared.c
+++ b/nuttx/libc/pthread/pthread_barrierattrsetpshared.c
@@ -1,5 +1,5 @@
/********************************************************************************
- * lib/pthread/pthread_barrierattrsetpshared.c
+ * libc/pthread/pthread_barrierattrsetpshared.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_condattrdestroy.c b/nuttx/libc/pthread/pthread_condattrdestroy.c
index d6c3df5d1..30a0c4db1 100644
--- a/nuttx/libc/pthread/pthread_condattrdestroy.c
+++ b/nuttx/libc/pthread/pthread_condattrdestroy.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_condattrdestroy.c
+ * libc/pthread/pthread_condattrdestroy.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_condattrinit.c b/nuttx/libc/pthread/pthread_condattrinit.c
index 5721c6159..511376f2e 100644
--- a/nuttx/libc/pthread/pthread_condattrinit.c
+++ b/nuttx/libc/pthread/pthread_condattrinit.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_condattrinit.c
+ * libc/pthread/pthread_condattrinit.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_mutexattrdestroy.c b/nuttx/libc/pthread/pthread_mutexattrdestroy.c
index e9868df68..82a13c300 100644
--- a/nuttx/libc/pthread/pthread_mutexattrdestroy.c
+++ b/nuttx/libc/pthread/pthread_mutexattrdestroy.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_mutexattrdestroy.c
+ * libc/pthread/pthread_mutexattrdestroy.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_mutexattrgetpshared.c b/nuttx/libc/pthread/pthread_mutexattrgetpshared.c
index bc6379db5..dc18484ec 100644
--- a/nuttx/libc/pthread/pthread_mutexattrgetpshared.c
+++ b/nuttx/libc/pthread/pthread_mutexattrgetpshared.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_mutexattrgetpshared.c
+ * libc/pthread/pthread_mutexattrgetpshared.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_mutexattrgettype.c b/nuttx/libc/pthread/pthread_mutexattrgettype.c
index 5fb10f301..3b8b3ec05 100644
--- a/nuttx/libc/pthread/pthread_mutexattrgettype.c
+++ b/nuttx/libc/pthread/pthread_mutexattrgettype.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_mutexattrgettype.c
+ * libc/pthread/pthread_mutexattrgettype.c
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_mutexattrinit.c b/nuttx/libc/pthread/pthread_mutexattrinit.c
index f815bf16c..f8c272195 100644
--- a/nuttx/libc/pthread/pthread_mutexattrinit.c
+++ b/nuttx/libc/pthread/pthread_mutexattrinit.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_mutexattrinit.c
+ * libc/pthread/pthread_mutexattrinit.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_mutexattrsetpshared.c b/nuttx/libc/pthread/pthread_mutexattrsetpshared.c
index 900476fdd..7501fd980 100644
--- a/nuttx/libc/pthread/pthread_mutexattrsetpshared.c
+++ b/nuttx/libc/pthread/pthread_mutexattrsetpshared.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_mutexattrsetpshared.c
+ * libc/pthread/pthread_mutexattrsetpshared.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/pthread/pthread_mutexattrsettype.c b/nuttx/libc/pthread/pthread_mutexattrsettype.c
index 81427c757..068a27dc2 100644
--- a/nuttx/libc/pthread/pthread_mutexattrsettype.c
+++ b/nuttx/libc/pthread/pthread_mutexattrsettype.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/pthread/pthread_mutexattrsettype.c
+ * libc/pthread/pthread_mutexattrsettype.c
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/Make.defs b/nuttx/libc/queue/Make.defs
index 976e7a2b8..9a843dbdc 100644
--- a/nuttx/libc/queue/Make.defs
+++ b/nuttx/libc/queue/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/queue/Make.defs
+# libc/queue/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/dq_addafter.c b/nuttx/libc/queue/dq_addafter.c
index bfbe0052d..e4d1abf63 100644
--- a/nuttx/libc/queue/dq_addafter.c
+++ b/nuttx/libc/queue/dq_addafter.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/dq_addafter.c
+ * libc/queue/dq_addafter.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/dq_addbefore.c b/nuttx/libc/queue/dq_addbefore.c
index d740ea830..3c403fc94 100644
--- a/nuttx/libc/queue/dq_addbefore.c
+++ b/nuttx/libc/queue/dq_addbefore.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/queue/dq_addbefore.c
+ * libc/queue/dq_addbefore.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/dq_addfirst.c b/nuttx/libc/queue/dq_addfirst.c
index 7c7312de3..56767b928 100644
--- a/nuttx/libc/queue/dq_addfirst.c
+++ b/nuttx/libc/queue/dq_addfirst.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/dq_addfirst.c
+ * libc/queue/dq_addfirst.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/dq_addlast.c b/nuttx/libc/queue/dq_addlast.c
index 745deb27d..3ef08abd0 100644
--- a/nuttx/libc/queue/dq_addlast.c
+++ b/nuttx/libc/queue/dq_addlast.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/dq_addlast.c
+ * libc/queue/dq_addlast.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/dq_rem.c b/nuttx/libc/queue/dq_rem.c
index 218427bf8..db20762c7 100644
--- a/nuttx/libc/queue/dq_rem.c
+++ b/nuttx/libc/queue/dq_rem.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/dq_rem.c
+ * libc/queue/dq_rem.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/dq_remfirst.c b/nuttx/libc/queue/dq_remfirst.c
index 26c5fd7a6..e87acc338 100644
--- a/nuttx/libc/queue/dq_remfirst.c
+++ b/nuttx/libc/queue/dq_remfirst.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/dq_remfirst.c
+ * libc/queue/dq_remfirst.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/dq_remlast.c b/nuttx/libc/queue/dq_remlast.c
index 35adc73e2..18c182335 100644
--- a/nuttx/libc/queue/dq_remlast.c
+++ b/nuttx/libc/queue/dq_remlast.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/queue/dq_remlast.c
+ * libc/queue/dq_remlast.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/sq_addafter.c b/nuttx/libc/queue/sq_addafter.c
index 965ac2844..5d47feba0 100644
--- a/nuttx/libc/queue/sq_addafter.c
+++ b/nuttx/libc/queue/sq_addafter.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/sq_addafter.c
+ * libc/queue/sq_addafter.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/sq_addfirst.c b/nuttx/libc/queue/sq_addfirst.c
index 8fc8e0619..962486154 100644
--- a/nuttx/libc/queue/sq_addfirst.c
+++ b/nuttx/libc/queue/sq_addfirst.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/sq_addfirst.c
+ * libc/queue/sq_addfirst.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/sq_addlast.c b/nuttx/libc/queue/sq_addlast.c
index f9f9625cc..faa07efb5 100644
--- a/nuttx/libc/queue/sq_addlast.c
+++ b/nuttx/libc/queue/sq_addlast.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/sq_addlast.c
+ * libc/queue/sq_addlast.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/sq_rem.c b/nuttx/libc/queue/sq_rem.c
index 6ba52354d..720be182c 100644
--- a/nuttx/libc/queue/sq_rem.c
+++ b/nuttx/libc/queue/sq_rem.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/sq_rem.c
+ * libc/queue/sq_rem.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/sq_remafter.c b/nuttx/libc/queue/sq_remafter.c
index 4dcfb06e4..0545a00f9 100644
--- a/nuttx/libc/queue/sq_remafter.c
+++ b/nuttx/libc/queue/sq_remafter.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/sq_remafter.c
+ * libc/queue/sq_remafter.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/sq_remfirst.c b/nuttx/libc/queue/sq_remfirst.c
index 43df6de41..f81c18dc2 100644
--- a/nuttx/libc/queue/sq_remfirst.c
+++ b/nuttx/libc/queue/sq_remfirst.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/sq_remfirst.c
+ * libc/queue/sq_remfirst.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/queue/sq_remlast.c b/nuttx/libc/queue/sq_remlast.c
index 92cdbde98..8f045e493 100644
--- a/nuttx/libc/queue/sq_remlast.c
+++ b/nuttx/libc/queue/sq_remlast.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/queue/sq_remlast.c
+ * libc/queue/sq_remlast.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/sched/Make.defs b/nuttx/libc/sched/Make.defs
index f398b755e..d2356db0f 100644
--- a/nuttx/libc/sched/Make.defs
+++ b/nuttx/libc/sched/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/sched/Make.defs
+# libc/sched/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/sched/sched_getprioritymax.c b/nuttx/libc/sched/sched_getprioritymax.c
index 14b368dfc..6ea37e76a 100644
--- a/nuttx/libc/sched/sched_getprioritymax.c
+++ b/nuttx/libc/sched/sched_getprioritymax.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/sched/sched_getprioritymax.c
+ * libc/sched/sched_getprioritymax.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/sched/sched_getprioritymin.c b/nuttx/libc/sched/sched_getprioritymin.c
index 86410cb0f..dbb46d81e 100644
--- a/nuttx/libc/sched/sched_getprioritymin.c
+++ b/nuttx/libc/sched/sched_getprioritymin.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/sched/sched_getprioritymin.c
+ * libc/sched/sched_getprioritymin.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/semaphore/Make.defs b/nuttx/libc/semaphore/Make.defs
index fdc0fe7d5..b6551ff96 100644
--- a/nuttx/libc/semaphore/Make.defs
+++ b/nuttx/libc/semaphore/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/semaphore/Make.defs
+# libc/semaphore/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/semaphore/sem_getvalue.c b/nuttx/libc/semaphore/sem_getvalue.c
index 31c6bb7e0..ce9d12611 100644
--- a/nuttx/libc/semaphore/sem_getvalue.c
+++ b/nuttx/libc/semaphore/sem_getvalue.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/semaphore/sem_getvalue.c
+ * libc/semaphore/sem_getvalue.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/semaphore/sem_init.c b/nuttx/libc/semaphore/sem_init.c
index bc14415f9..7732eb57a 100644
--- a/nuttx/libc/semaphore/sem_init.c
+++ b/nuttx/libc/semaphore/sem_init.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/sem/sem_init.c
+ * libc/sem/sem_init.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/signal/Make.defs b/nuttx/libc/signal/Make.defs
index e27da9b2e..fe7eb180e 100644
--- a/nuttx/libc/signal/Make.defs
+++ b/nuttx/libc/signal/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/signal/Make.defs
+# libc/signal/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/signal/sig_addset.c b/nuttx/libc/signal/sig_addset.c
index 19ba0cb6b..06ddabd6b 100644
--- a/nuttx/libc/signal/sig_addset.c
+++ b/nuttx/libc/signal/sig_addset.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/signal/sig_addset.c
+ * libc/signal/sig_addset.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/signal/sig_delset.c b/nuttx/libc/signal/sig_delset.c
index 1c661d37f..04112d872 100644
--- a/nuttx/libc/signal/sig_delset.c
+++ b/nuttx/libc/signal/sig_delset.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/signal/sig_delset.c
+ * libc/signal/sig_delset.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/signal/sig_emptyset.c b/nuttx/libc/signal/sig_emptyset.c
index ac0c6b3e8..16ddd3f68 100644
--- a/nuttx/libc/signal/sig_emptyset.c
+++ b/nuttx/libc/signal/sig_emptyset.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/signal/sig_emptyset.c
+ * libc/signal/sig_emptyset.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/signal/sig_fillset.c b/nuttx/libc/signal/sig_fillset.c
index 8697d7577..99ee95c1f 100644
--- a/nuttx/libc/signal/sig_fillset.c
+++ b/nuttx/libc/signal/sig_fillset.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/signal/sig_fillset.c
+ * libc/signal/sig_fillset.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/signal/sig_ismember.c b/nuttx/libc/signal/sig_ismember.c
index c5bb091b7..1a8590e00 100644
--- a/nuttx/libc/signal/sig_ismember.c
+++ b/nuttx/libc/signal/sig_ismember.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/signal/sig_ismember.c
+ * libc/signal/sig_ismember.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/Make.defs b/nuttx/libc/stdio/Make.defs
index e4ee5e969..e18ab0220 100644
--- a/nuttx/libc/stdio/Make.defs
+++ b/nuttx/libc/stdio/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/stdio/Make.defs
+# libc/stdio/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_asprintf.c b/nuttx/libc/stdio/lib_asprintf.c
index 84aaafa46..20ca6de32 100644
--- a/nuttx/libc/stdio/lib_asprintf.c
+++ b/nuttx/libc/stdio/lib_asprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_asprintf.c
+ * libc/stdio/lib_asprintf.c
*
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_avsprintf.c b/nuttx/libc/stdio/lib_avsprintf.c
index 8561b97c2..15ff8c9fb 100644
--- a/nuttx/libc/stdio/lib_avsprintf.c
+++ b/nuttx/libc/stdio/lib_avsprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_avsprintf.c
+ * libc/stdio/lib_avsprintf.c
*
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_clearerr.c b/nuttx/libc/stdio/lib_clearerr.c
index 7f7ded5bb..589b56feb 100644
--- a/nuttx/libc/stdio/lib_clearerr.c
+++ b/nuttx/libc/stdio/lib_clearerr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_clearerr.c
+ * libc/stdio/lib_clearerr.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_dtoa.c b/nuttx/libc/stdio/lib_dtoa.c
index b8c7db980..44290ae32 100644
--- a/nuttx/libc/stdio/lib_dtoa.c
+++ b/nuttx/libc/stdio/lib_dtoa.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_dtoa.c
+ * libc/stdio/lib_dtoa.c
*
* This file was ported to NuttX by Yolande Cates.
*
diff --git a/nuttx/libc/stdio/lib_fclose.c b/nuttx/libc/stdio/lib_fclose.c
index 8cecb8af3..c04537adf 100644
--- a/nuttx/libc/stdio/lib_fclose.c
+++ b/nuttx/libc/stdio/lib_fclose.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fclose.c
+ * libc/stdio/lib_fclose.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_feof.c b/nuttx/libc/stdio/lib_feof.c
index e44c6a3c9..e036398fd 100644
--- a/nuttx/libc/stdio/lib_feof.c
+++ b/nuttx/libc/stdio/lib_feof.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_feof.c
+ * libc/stdio/lib_feof.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_ferror.c b/nuttx/libc/stdio/lib_ferror.c
index 4ad7d8cfc..a977394cb 100644
--- a/nuttx/libc/stdio/lib_ferror.c
+++ b/nuttx/libc/stdio/lib_ferror.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_ferror.c
+ * libc/stdio/lib_ferror.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fflush.c b/nuttx/libc/stdio/lib_fflush.c
index d0b5e0185..a84a14a59 100644
--- a/nuttx/libc/stdio/lib_fflush.c
+++ b/nuttx/libc/stdio/lib_fflush.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fflush.c
+ * libc/stdio/lib_fflush.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fgetc.c b/nuttx/libc/stdio/lib_fgetc.c
index 4b3d0ec44..81e2e4ba7 100644
--- a/nuttx/libc/stdio/lib_fgetc.c
+++ b/nuttx/libc/stdio/lib_fgetc.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fgetc.c
+ * libc/stdio/lib_fgetc.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fgetpos.c b/nuttx/libc/stdio/lib_fgetpos.c
index e9e9f4d10..7663ca2db 100644
--- a/nuttx/libc/stdio/lib_fgetpos.c
+++ b/nuttx/libc/stdio/lib_fgetpos.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fgetpos.c
+ * libc/stdio/lib_fgetpos.c
*
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fgets.c b/nuttx/libc/stdio/lib_fgets.c
index a4f9089ed..c2c98a38b 100644
--- a/nuttx/libc/stdio/lib_fgets.c
+++ b/nuttx/libc/stdio/lib_fgets.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fgets.c
+ * libc/stdio/lib_fgets.c
*
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fileno.c b/nuttx/libc/stdio/lib_fileno.c
index fca08fc0d..f227aa372 100644
--- a/nuttx/libc/stdio/lib_fileno.c
+++ b/nuttx/libc/stdio/lib_fileno.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fileno.c
+ * libc/stdio/lib_fileno.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fopen.c b/nuttx/libc/stdio/lib_fopen.c
index 29ff4569c..cb68b3584 100644
--- a/nuttx/libc/stdio/lib_fopen.c
+++ b/nuttx/libc/stdio/lib_fopen.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fopen.c
+ * libc/stdio/lib_fopen.c
*
* Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fprintf.c b/nuttx/libc/stdio/lib_fprintf.c
index a803de4bd..5b6fe58f4 100644
--- a/nuttx/libc/stdio/lib_fprintf.c
+++ b/nuttx/libc/stdio/lib_fprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fprintf.c
+ * libc/stdio/lib_fprintf.c
*
* Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fputc.c b/nuttx/libc/stdio/lib_fputc.c
index 121161f10..5d8065b43 100644
--- a/nuttx/libc/stdio/lib_fputc.c
+++ b/nuttx/libc/stdio/lib_fputc.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fputc.c
+ * libc/stdio/lib_fputc.c
*
* Copyright (C) 2007, 2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fputs.c b/nuttx/libc/stdio/lib_fputs.c
index 2d6217d4a..7b87a89d0 100644
--- a/nuttx/libc/stdio/lib_fputs.c
+++ b/nuttx/libc/stdio/lib_fputs.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fputs.c
+ * libc/stdio/lib_fputs.c
*
* Copyright (C) 2007, 2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fread.c b/nuttx/libc/stdio/lib_fread.c
index 4a4b29256..671714122 100644
--- a/nuttx/libc/stdio/lib_fread.c
+++ b/nuttx/libc/stdio/lib_fread.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fread.c
+ * libc/stdio/lib_fread.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fseek.c b/nuttx/libc/stdio/lib_fseek.c
index 7380f83b3..36216d94a 100644
--- a/nuttx/libc/stdio/lib_fseek.c
+++ b/nuttx/libc/stdio/lib_fseek.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fseek.c
+ * libc/stdio/lib_fseek.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fsetpos.c b/nuttx/libc/stdio/lib_fsetpos.c
index 13d556521..3d79a1877 100644
--- a/nuttx/libc/stdio/lib_fsetpos.c
+++ b/nuttx/libc/stdio/lib_fsetpos.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fsetpos.c
+ * libc/stdio/lib_fsetpos.c
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_ftell.c b/nuttx/libc/stdio/lib_ftell.c
index 947648152..99fc20f34 100644
--- a/nuttx/libc/stdio/lib_ftell.c
+++ b/nuttx/libc/stdio/lib_ftell.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_ftell.c
+ * libc/stdio/lib_ftell.c
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_fwrite.c b/nuttx/libc/stdio/lib_fwrite.c
index 60e001746..e8de004fe 100644
--- a/nuttx/libc/stdio/lib_fwrite.c
+++ b/nuttx/libc/stdio/lib_fwrite.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_fwrite.c
+ * libc/stdio/lib_fwrite.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_gets.c b/nuttx/libc/stdio/lib_gets.c
index 95a6b36eb..39c31d273 100644
--- a/nuttx/libc/stdio/lib_gets.c
+++ b/nuttx/libc/stdio/lib_gets.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_gets.c
+ * libc/stdio/lib_gets.c
*
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_libdtoa.c b/nuttx/libc/stdio/lib_libdtoa.c
index 667c49c53..29f61fd76 100644
--- a/nuttx/libc/stdio/lib_libdtoa.c
+++ b/nuttx/libc/stdio/lib_libdtoa.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/unistd/lib_libdtoa.c
+ * libc/unistd/lib_libdtoa.c
*
* This file was ported to NuttX by Yolande Cates.
*
diff --git a/nuttx/libc/stdio/lib_libfflush.c b/nuttx/libc/stdio/lib_libfflush.c
index 2a4fe2932..f2f0cfe14 100644
--- a/nuttx/libc/stdio/lib_libfflush.c
+++ b/nuttx/libc/stdio/lib_libfflush.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_libfflush.c
+ * libc/stdio/lib_libfflush.c
*
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_libflushall.c b/nuttx/libc/stdio/lib_libflushall.c
index 9d0a89e9c..7ac3da7e0 100644
--- a/nuttx/libc/stdio/lib_libflushall.c
+++ b/nuttx/libc/stdio/lib_libflushall.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_libflushall.c
+ * libc/stdio/lib_libflushall.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_libfread.c b/nuttx/libc/stdio/lib_libfread.c
index 5585acbae..bc6479037 100644
--- a/nuttx/libc/stdio/lib_libfread.c
+++ b/nuttx/libc/stdio/lib_libfread.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_libfread.c
+ * libc/stdio/lib_libfread.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_libfwrite.c b/nuttx/libc/stdio/lib_libfwrite.c
index e71866b49..b917b3b56 100644
--- a/nuttx/libc/stdio/lib_libfwrite.c
+++ b/nuttx/libc/stdio/lib_libfwrite.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_libfwrite.c
+ * libc/stdio/lib_libfwrite.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_libnoflush.c b/nuttx/libc/stdio/lib_libnoflush.c
index e3b891153..076f8a17e 100644
--- a/nuttx/libc/stdio/lib_libnoflush.c
+++ b/nuttx/libc/stdio/lib_libnoflush.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_libnoflush.c
+ * libc/stdio/lib_libnoflush.c
*
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_libsprintf.c b/nuttx/libc/stdio/lib_libsprintf.c
index 2474a6f01..2d820ab37 100644
--- a/nuttx/libc/stdio/lib_libsprintf.c
+++ b/nuttx/libc/stdio/lib_libsprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_libsprintf.c
+ * libc/stdio/lib_libsprintf.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_libvsprintf.c b/nuttx/libc/stdio/lib_libvsprintf.c
index 30c988599..9a391610d 100644
--- a/nuttx/libc/stdio/lib_libvsprintf.c
+++ b/nuttx/libc/stdio/lib_libvsprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_libvsprintf.c
+ * libc/stdio/lib_libvsprintf.c
*
* Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -1161,7 +1161,7 @@ static void postjustify(FAR struct lib_outstream_s *obj, uint8_t fmt,
****************************************************************************/
/****************************************************************************
- * lib/stdio/lib_vsprintf
+ * libc/stdio/lib_vsprintf
****************************************************************************/
int lib_vsprintf(FAR struct lib_outstream_s *obj, FAR const char *src, va_list ap)
diff --git a/nuttx/libc/stdio/lib_lowinstream.c b/nuttx/libc/stdio/lib_lowinstream.c
index 499a647ea..7284601e8 100644
--- a/nuttx/libc/stdio/lib_lowinstream.c
+++ b/nuttx/libc/stdio/lib_lowinstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_lowinstream.c
+ * libc/stdio/lib_lowinstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_lowoutstream.c b/nuttx/libc/stdio/lib_lowoutstream.c
index 092f39ca2..f600bc614 100644
--- a/nuttx/libc/stdio/lib_lowoutstream.c
+++ b/nuttx/libc/stdio/lib_lowoutstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_lowoutstream.c
+ * libc/stdio/lib_lowoutstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_lowprintf.c b/nuttx/libc/stdio/lib_lowprintf.c
index 392ef2c6a..f7d4ffe2f 100644
--- a/nuttx/libc/stdio/lib_lowprintf.c
+++ b/nuttx/libc/stdio/lib_lowprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_lowprintf.c
+ * libc/stdio/lib_lowprintf.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_meminstream.c b/nuttx/libc/stdio/lib_meminstream.c
index a842096fb..2a30d956d 100644
--- a/nuttx/libc/stdio/lib_meminstream.c
+++ b/nuttx/libc/stdio/lib_meminstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_meminstream.c
+ * libc/stdio/lib_meminstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_memoutstream.c b/nuttx/libc/stdio/lib_memoutstream.c
index 21197358b..efd527cbc 100644
--- a/nuttx/libc/stdio/lib_memoutstream.c
+++ b/nuttx/libc/stdio/lib_memoutstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_memoutstream.c
+ * libc/stdio/lib_memoutstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_nullinstream.c b/nuttx/libc/stdio/lib_nullinstream.c
index 0eadb0a8e..aeb0af379 100644
--- a/nuttx/libc/stdio/lib_nullinstream.c
+++ b/nuttx/libc/stdio/lib_nullinstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_nullinstream.c
+ * libc/stdio/lib_nullinstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_nulloutstream.c b/nuttx/libc/stdio/lib_nulloutstream.c
index 69878fd57..574295344 100644
--- a/nuttx/libc/stdio/lib_nulloutstream.c
+++ b/nuttx/libc/stdio/lib_nulloutstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_nulloutstream.c
+ * libc/stdio/lib_nulloutstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_perror.c b/nuttx/libc/stdio/lib_perror.c
index 867e113f9..181898329 100644
--- a/nuttx/libc/stdio/lib_perror.c
+++ b/nuttx/libc/stdio/lib_perror.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_perror.c
+ * libc/stdio/lib_perror.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_printf.c b/nuttx/libc/stdio/lib_printf.c
index 50db06c47..0e90c7ca5 100644
--- a/nuttx/libc/stdio/lib_printf.c
+++ b/nuttx/libc/stdio/lib_printf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_printf.c
+ * libc/stdio/lib_printf.c
*
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_puts.c b/nuttx/libc/stdio/lib_puts.c
index e63a63917..53eda7081 100644
--- a/nuttx/libc/stdio/lib_puts.c
+++ b/nuttx/libc/stdio/lib_puts.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_puts.c
+ * libc/stdio/lib_puts.c
*
* Copyright (C) 2007, 2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_rawinstream.c b/nuttx/libc/stdio/lib_rawinstream.c
index 9671a2716..55456769e 100644
--- a/nuttx/libc/stdio/lib_rawinstream.c
+++ b/nuttx/libc/stdio/lib_rawinstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_rawinstream.c
+ * libc/stdio/lib_rawinstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_rawoutstream.c b/nuttx/libc/stdio/lib_rawoutstream.c
index ed813f87a..e1fe37134 100644
--- a/nuttx/libc/stdio/lib_rawoutstream.c
+++ b/nuttx/libc/stdio/lib_rawoutstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_rawoutstream.c
+ * libc/stdio/lib_rawoutstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_rawprintf.c b/nuttx/libc/stdio/lib_rawprintf.c
index 19dfa895e..98bbbea05 100644
--- a/nuttx/libc/stdio/lib_rawprintf.c
+++ b/nuttx/libc/stdio/lib_rawprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_rawprintf.c
+ * libc/stdio/lib_rawprintf.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_rdflush.c b/nuttx/libc/stdio/lib_rdflush.c
index 35c5495c1..c6136792b 100644
--- a/nuttx/libc/stdio/lib_rdflush.c
+++ b/nuttx/libc/stdio/lib_rdflush.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_rdflush.c
+ * libc/stdio/lib_rdflush.c
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_snprintf.c b/nuttx/libc/stdio/lib_snprintf.c
index e5ce7b0f0..a4ba0dbb3 100644
--- a/nuttx/libc/stdio/lib_snprintf.c
+++ b/nuttx/libc/stdio/lib_snprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_snprintf.c
+ * libc/stdio/lib_snprintf.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_sprintf.c b/nuttx/libc/stdio/lib_sprintf.c
index 89fd61033..deb0669a3 100644
--- a/nuttx/libc/stdio/lib_sprintf.c
+++ b/nuttx/libc/stdio/lib_sprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_sprintf.c
+ * libc/stdio/lib_sprintf.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_sscanf.c b/nuttx/libc/stdio/lib_sscanf.c
index 7e1fae276..77a6cf212 100644
--- a/nuttx/libc/stdio/lib_sscanf.c
+++ b/nuttx/libc/stdio/lib_sscanf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_sscanf.c
+ * libc/stdio/lib_sscanf.c
*
* Copyright (C) 2007, 2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_stdinstream.c b/nuttx/libc/stdio/lib_stdinstream.c
index 77aab9ec8..261b26634 100644
--- a/nuttx/libc/stdio/lib_stdinstream.c
+++ b/nuttx/libc/stdio/lib_stdinstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_stdinstream.c
+ * libc/stdio/lib_stdinstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_stdoutstream.c b/nuttx/libc/stdio/lib_stdoutstream.c
index 20da5b702..dfe67271f 100644
--- a/nuttx/libc/stdio/lib_stdoutstream.c
+++ b/nuttx/libc/stdio/lib_stdoutstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_stdoutstream.c
+ * libc/stdio/lib_stdoutstream.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_syslogstream.c b/nuttx/libc/stdio/lib_syslogstream.c
index 21151b43a..5529c5de8 100644
--- a/nuttx/libc/stdio/lib_syslogstream.c
+++ b/nuttx/libc/stdio/lib_syslogstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_syslogstream.c
+ * libc/stdio/lib_syslogstream.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_ungetc.c b/nuttx/libc/stdio/lib_ungetc.c
index c10d4fba1..178aeddd1 100644
--- a/nuttx/libc/stdio/lib_ungetc.c
+++ b/nuttx/libc/stdio/lib_ungetc.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_ungetc.c
+ * libc/stdio/lib_ungetc.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_vfprintf.c b/nuttx/libc/stdio/lib_vfprintf.c
index 1c3a2d7fc..cd117ddc3 100644
--- a/nuttx/libc/stdio/lib_vfprintf.c
+++ b/nuttx/libc/stdio/lib_vfprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_vfprintf.c
+ * libc/stdio/lib_vfprintf.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_vprintf.c b/nuttx/libc/stdio/lib_vprintf.c
index d085d5886..6ddfe2b24 100644
--- a/nuttx/libc/stdio/lib_vprintf.c
+++ b/nuttx/libc/stdio/lib_vprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_vprintf.c
+ * libc/stdio/lib_vprintf.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_vsnprintf.c b/nuttx/libc/stdio/lib_vsnprintf.c
index c6f52092d..f7fd02e42 100644
--- a/nuttx/libc/stdio/lib_vsnprintf.c
+++ b/nuttx/libc/stdio/lib_vsnprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_vsnprintf.c
+ * libc/stdio/lib_vsnprintf.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_vsprintf.c b/nuttx/libc/stdio/lib_vsprintf.c
index 5db46664e..b6d80808f 100644
--- a/nuttx/libc/stdio/lib_vsprintf.c
+++ b/nuttx/libc/stdio/lib_vsprintf.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_vsprintf.c
+ * libc/stdio/lib_vsprintf.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -84,7 +84,7 @@ int vsprintf(FAR char *dest, const char *src, va_list ap)
struct lib_memoutstream_s memoutstream;
/* Wrap the destination buffer in a stream object and let
- * lib/stdio/lib_vsprintf do the work.
+ * libc/stdio/lib_vsprintf do the work.
*/
lib_memoutstream((FAR struct lib_memoutstream_s *)&memoutstream, dest, LIB_BUFLEN_UNKNOWN);
diff --git a/nuttx/libc/stdio/lib_wrflush.c b/nuttx/libc/stdio/lib_wrflush.c
index 39680da6a..40b8e38c8 100644
--- a/nuttx/libc/stdio/lib_wrflush.c
+++ b/nuttx/libc/stdio/lib_wrflush.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_wrflush.c
+ * libc/stdio/lib_wrflush.c
*
* Copyright (C) 2008-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdio/lib_zeroinstream.c b/nuttx/libc/stdio/lib_zeroinstream.c
index 39a6c22ef..a52ecc1d0 100644
--- a/nuttx/libc/stdio/lib_zeroinstream.c
+++ b/nuttx/libc/stdio/lib_zeroinstream.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdio/lib_zeroinstream.c
+ * libc/stdio/lib_zeroinstream.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdlib/Make.defs b/nuttx/libc/stdlib/Make.defs
index 76e285808..dcc4dab26 100644
--- a/nuttx/libc/stdlib/Make.defs
+++ b/nuttx/libc/stdlib/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/stdlib/Make.defs
+# libc/stdlib/Make.defs
#
# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdlib/lib_abort.c b/nuttx/libc/stdlib/lib_abort.c
index 84b600950..1c7442c7f 100644
--- a/nuttx/libc/stdlib/lib_abort.c
+++ b/nuttx/libc/stdlib/lib_abort.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/stdlib/lib_abort.c
+ * libc/stdlib/lib_abort.c
*
* Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdlib/lib_abs.c b/nuttx/libc/stdlib/lib_abs.c
index 1a0c1671c..a4e4ec669 100644
--- a/nuttx/libc/stdlib/lib_abs.c
+++ b/nuttx/libc/stdlib/lib_abs.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/stdlib/lib_abs.c
+ * libc/stdlib/lib_abs.c
*
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdlib/lib_imaxabs.c b/nuttx/libc/stdlib/lib_imaxabs.c
index c6e227c7d..d36504372 100644
--- a/nuttx/libc/stdlib/lib_imaxabs.c
+++ b/nuttx/libc/stdlib/lib_imaxabs.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/stdlib//lib_abs.c
+ * libc/stdlib//lib_abs.c
*
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdlib/lib_labs.c b/nuttx/libc/stdlib/lib_labs.c
index f7218ee83..7cf92a0a1 100644
--- a/nuttx/libc/stdlib/lib_labs.c
+++ b/nuttx/libc/stdlib/lib_labs.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/stdlib/lib_labs.c
+ * libc/stdlib/lib_labs.c
*
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdlib/lib_llabs.c b/nuttx/libc/stdlib/lib_llabs.c
index db7d3dbe0..3630d1716 100644
--- a/nuttx/libc/stdlib/lib_llabs.c
+++ b/nuttx/libc/stdlib/lib_llabs.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/stdlib/lib_llabs.c
+ * libc/stdlib/lib_llabs.c
*
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdlib/lib_qsort.c b/nuttx/libc/stdlib/lib_qsort.c
index 9dd5c0040..021e782d4 100644
--- a/nuttx/libc/stdlib/lib_qsort.c
+++ b/nuttx/libc/stdlib/lib_qsort.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/stdlib/lib_qsort.c
+ * libc/stdlib/lib_qsort.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/stdlib/lib_rand.c b/nuttx/libc/stdlib/lib_rand.c
index 7227c52d0..cb998fb12 100644
--- a/nuttx/libc/stdlib/lib_rand.c
+++ b/nuttx/libc/stdlib/lib_rand.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/stdlib/lib_rand.c
+ * libc/stdlib/lib_rand.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/Make.defs b/nuttx/libc/string/Make.defs
index 191b9ffea..311c8afd2 100644
--- a/nuttx/libc/string/Make.defs
+++ b/nuttx/libc/string/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/string/Make.defs
+# libc/string/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_checkbase.c b/nuttx/libc/string/lib_checkbase.c
index bc79ab2ce..32ae58dca 100644
--- a/nuttx/libc/string/lib_checkbase.c
+++ b/nuttx/libc/string/lib_checkbase.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_checkbase.c
+ * libc/string/lib_checkbase.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_isbasedigit.c b/nuttx/libc/string/lib_isbasedigit.c
index a2421bf2a..dff813881 100644
--- a/nuttx/libc/string/lib_isbasedigit.c
+++ b/nuttx/libc/string/lib_isbasedigit.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_isbasedigit.c
+ * libc/string/lib_isbasedigit.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_memccpy.c b/nuttx/libc/string/lib_memccpy.c
index 1f3dbb52d..1d77f58fe 100644
--- a/nuttx/libc/string/lib_memccpy.c
+++ b/nuttx/libc/string/lib_memccpy.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_memccpy.c
+ * libc/string/lib_memccpy.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_memchr.c b/nuttx/libc/string/lib_memchr.c
index e0dec8270..0ac609104 100644
--- a/nuttx/libc/string/lib_memchr.c
+++ b/nuttx/libc/string/lib_memchr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_memchr.c
+ * libc/string/lib_memchr.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_memcmp.c b/nuttx/libc/string/lib_memcmp.c
index eb2e1fd12..e1722a4d8 100644
--- a/nuttx/libc/string/lib_memcmp.c
+++ b/nuttx/libc/string/lib_memcmp.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/string/lib_memcmp.c
+ * libc/string/lib_memcmp.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_memcpy.c b/nuttx/libc/string/lib_memcpy.c
index 3b62edbab..2ebd5beee 100644
--- a/nuttx/libc/string/lib_memcpy.c
+++ b/nuttx/libc/string/lib_memcpy.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_memcpy.c
+ * libc/string/lib_memcpy.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_memmove.c b/nuttx/libc/string/lib_memmove.c
index 85cb79e17..cbc26fb26 100644
--- a/nuttx/libc/string/lib_memmove.c
+++ b/nuttx/libc/string/lib_memmove.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/string/lib_memmove.c
+ * libc/string/lib_memmove.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_memset.c b/nuttx/libc/string/lib_memset.c
index 31c386e92..0b98ebf96 100644
--- a/nuttx/libc/string/lib_memset.c
+++ b/nuttx/libc/string/lib_memset.c
@@ -1,6 +1,6 @@
/****************************************************************************
- * lib/string/lib_memset.c
+ * libc/string/lib_memset.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_skipspace.c b/nuttx/libc/string/lib_skipspace.c
index b4e6588e5..4b72b1ec3 100644
--- a/nuttx/libc/string/lib_skipspace.c
+++ b/nuttx/libc/string/lib_skipspace.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_skipspace.c
+ * libc/string/lib_skipspace.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strcasecmp.c b/nuttx/libc/string/lib_strcasecmp.c
index d4aa8cc03..df6f08118 100644
--- a/nuttx/libc/string/lib_strcasecmp.c
+++ b/nuttx/libc/string/lib_strcasecmp.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strcasecmp.c
+ * libc/string/lib_strcasecmp.c
*
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strcasestr.c b/nuttx/libc/string/lib_strcasestr.c
index 23f0ab57e..5a8d53bee 100644
--- a/nuttx/libc/string/lib_strcasestr.c
+++ b/nuttx/libc/string/lib_strcasestr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strstr.c
+ * libc/string/lib_strstr.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strcat.c b/nuttx/libc/string/lib_strcat.c
index 20350fec0..b331d3f1c 100644
--- a/nuttx/libc/string/lib_strcat.c
+++ b/nuttx/libc/string/lib_strcat.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strcat.c
+ * libc/string/lib_strcat.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strchr.c b/nuttx/libc/string/lib_strchr.c
index d0bd22a0e..e6af56eee 100644
--- a/nuttx/libc/string/lib_strchr.c
+++ b/nuttx/libc/string/lib_strchr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strchr.c
+ * libc/string/lib_strchr.c
*
* Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strcmp.c b/nuttx/libc/string/lib_strcmp.c
index 0e3eee890..d4036cd3e 100644
--- a/nuttx/libc/string/lib_strcmp.c
+++ b/nuttx/libc/string/lib_strcmp.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strcmp.c
+ * libc/string/lib_strcmp.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strcpy.c b/nuttx/libc/string/lib_strcpy.c
index e2f70b94e..7a0576f5a 100644
--- a/nuttx/libc/string/lib_strcpy.c
+++ b/nuttx/libc/string/lib_strcpy.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/string/lib_strcpy.c
+ * libc/string/lib_strcpy.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strcspn.c b/nuttx/libc/string/lib_strcspn.c
index 9da89241c..23e913fad 100644
--- a/nuttx/libc/string/lib_strcspn.c
+++ b/nuttx/libc/string/lib_strcspn.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strcspn.c
+ * libc/string/lib_strcspn.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strdup.c b/nuttx/libc/string/lib_strdup.c
index 44a0cbc0d..a5b3a1e8c 100644
--- a/nuttx/libc/string/lib_strdup.c
+++ b/nuttx/libc/string/lib_strdup.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/string//lib_strdup.c
+ * libc/string//lib_strdup.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strerror.c b/nuttx/libc/string/lib_strerror.c
index 249f695c1..0c7ca28fd 100644
--- a/nuttx/libc/string/lib_strerror.c
+++ b/nuttx/libc/string/lib_strerror.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/string/lib_strerror.c
+ * libc/string/lib_strerror.c
*
* Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strlen.c b/nuttx/libc/string/lib_strlen.c
index 833305809..6077858e2 100644
--- a/nuttx/libc/string/lib_strlen.c
+++ b/nuttx/libc/string/lib_strlen.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strlen.c
+ * libc/string/lib_strlen.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strncasecmp.c b/nuttx/libc/string/lib_strncasecmp.c
index be369cf0d..35f701c5e 100644
--- a/nuttx/libc/string/lib_strncasecmp.c
+++ b/nuttx/libc/string/lib_strncasecmp.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strncasecmp.c
+ * libc/string/lib_strncasecmp.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strncat.c b/nuttx/libc/string/lib_strncat.c
index af893e0f9..78c54835e 100644
--- a/nuttx/libc/string/lib_strncat.c
+++ b/nuttx/libc/string/lib_strncat.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/string/lib_strncat.c
+ * libc/string/lib_strncat.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strncmp.c b/nuttx/libc/string/lib_strncmp.c
index ce2282024..dd8b57fd0 100644
--- a/nuttx/libc/string/lib_strncmp.c
+++ b/nuttx/libc/string/lib_strncmp.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/lib_strncmp.c
+ * libc/lib_strncmp.c
*
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strncpy.c b/nuttx/libc/string/lib_strncpy.c
index 149369d50..8a97aa67b 100644
--- a/nuttx/libc/string/lib_strncpy.c
+++ b/nuttx/libc/string/lib_strncpy.c
@@ -1,5 +1,5 @@
/************************************************************
- * lib/string/lib_strncpy.c
+ * libc/string/lib_strncpy.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strndup.c b/nuttx/libc/string/lib_strndup.c
index ffaf892ea..524e09754 100644
--- a/nuttx/libc/string/lib_strndup.c
+++ b/nuttx/libc/string/lib_strndup.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/string//lib_strndup.c
+ * libc/string//lib_strndup.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strnlen.c b/nuttx/libc/string/lib_strnlen.c
index 2b64fe984..9bc3064cb 100644
--- a/nuttx/libc/string/lib_strnlen.c
+++ b/nuttx/libc/string/lib_strnlen.c
@@ -1,12 +1,12 @@
/****************************************************************************
- * lib/string/lib_strnlen.c
+ * libc/string/lib_strnlen.c
*
* This file is part of NuttX, contributed by Michael Hrabanek
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Michael Hrabanek
*
- * Derives from the file lib/lib_strlen.c:
+ * Derives from the file libc/lib_strlen.c:
*
* Copyright (C) 2007, 2008, 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strpbrk.c b/nuttx/libc/string/lib_strpbrk.c
index 02e2ea2c7..ef9b0f3e9 100644
--- a/nuttx/libc/string/lib_strpbrk.c
+++ b/nuttx/libc/string/lib_strpbrk.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strpbrk.c
+ * libc/string/lib_strpbrk.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strrchr.c b/nuttx/libc/string/lib_strrchr.c
index 91243ce58..08575c82b 100644
--- a/nuttx/libc/string/lib_strrchr.c
+++ b/nuttx/libc/string/lib_strrchr.c
@@ -1,5 +1,5 @@
/************************************************************************
- * lib/string/lib_strrchr.c
+ * libc/string/lib_strrchr.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strspn.c b/nuttx/libc/string/lib_strspn.c
index e7b5ea0a5..6894b2b9d 100644
--- a/nuttx/libc/string/lib_strspn.c
+++ b/nuttx/libc/string/lib_strspn.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strspn.c
+ * libc/string/lib_strspn.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strstr.c b/nuttx/libc/string/lib_strstr.c
index b8c896fa2..02f4809d2 100644
--- a/nuttx/libc/string/lib_strstr.c
+++ b/nuttx/libc/string/lib_strstr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strstr.c
+ * libc/string/lib_strstr.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strtod.c b/nuttx/libc/string/lib_strtod.c
index 8fecd4571..58dfd6a29 100644
--- a/nuttx/libc/string/lib_strtod.c
+++ b/nuttx/libc/string/lib_strtod.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strtod.c
+ * libc/string/lib_strtod.c
* Convert string to double
*
* Copyright (C) 2002 Michael Ringgaard. All rights reserved.
diff --git a/nuttx/libc/string/lib_strtok.c b/nuttx/libc/string/lib_strtok.c
index c40993135..85d6597d7 100644
--- a/nuttx/libc/string/lib_strtok.c
+++ b/nuttx/libc/string/lib_strtok.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strtok.c
+ * libc/string/lib_strtok.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strtokr.c b/nuttx/libc/string/lib_strtokr.c
index 1c571b6ae..c7845be64 100644
--- a/nuttx/libc/string/lib_strtokr.c
+++ b/nuttx/libc/string/lib_strtokr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strtokr.c
+ * libc/string/lib_strtokr.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strtol.c b/nuttx/libc/string/lib_strtol.c
index c17d87e63..6ac0d6827 100644
--- a/nuttx/libc/string/lib_strtol.c
+++ b/nuttx/libc/string/lib_strtol.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strtol.c
+ * libc/string/lib_strtol.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strtoll.c b/nuttx/libc/string/lib_strtoll.c
index 242e025c0..99fba08eb 100644
--- a/nuttx/libc/string/lib_strtoll.c
+++ b/nuttx/libc/string/lib_strtoll.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/string/lib_strtoll.c
+ * libc/string/lib_strtoll.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strtoul.c b/nuttx/libc/string/lib_strtoul.c
index b0d2d090e..8f27ae3f2 100644
--- a/nuttx/libc/string/lib_strtoul.c
+++ b/nuttx/libc/string/lib_strtoul.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * /lib/string/lib_strtoul.c
+ * /libc/string/lib_strtoul.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_strtoull.c b/nuttx/libc/string/lib_strtoull.c
index 6567457c0..4808114af 100644
--- a/nuttx/libc/string/lib_strtoull.c
+++ b/nuttx/libc/string/lib_strtoull.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * /lib/string/lib_strtoull.c
+ * /libc/string/lib_strtoull.c
*
* Copyright (C) 2009, 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/string/lib_vikmemcpy.c b/nuttx/libc/string/lib_vikmemcpy.c
index b50942aaa..28bf4a4ce 100644
--- a/nuttx/libc/string/lib_vikmemcpy.c
+++ b/nuttx/libc/string/lib_vikmemcpy.c
@@ -1,348 +1,348 @@
-/****************************************************************************
- * File: lib/string/lib_vikmemcpy.c
- *
- * This is version of the optimized memcpy by Daniel Vik, adapted to the
- * NuttX environment.
- *
- * Copyright (C) 1999-2010 Daniel Vik
- *
- * Adaptations include:
- * - File name change
- * - Use of types defined in stdint.h
- * - Integration with the NuttX configuration system
- * - Other cosmetic changes for consistency with NuttX coding standards
- *
- * This software is provided 'as-is', without any express or implied
- * warranty. In no event will the authors be held liable for any
- * damages arising from the use of this software.
- * Permission is granted to anyone to use this software for any
- * purpose, including commercial applications, and to alter it and
- * redistribute it freely, subject to the following restrictions:
- *
- * 1. The origin of this software must not be misrepresented; you
- * must not claim that you wrote the original software. If you
- * use this software in a product, an acknowledgment in the
- * use this software in a product, an acknowledgment in the
- * product documentation would be appreciated but is not
- * required.
- *
- * 2. Altered source versions must be plainly marked as such, and
- * must not be misrepresented as being the original software.
- *
- * 3. This notice may not be removed or altered from any source
- * distribution.
- *
- * Description: Implementation of the standard library function memcpy.
- * This implementation of memcpy() is ANSI-C89 compatible.
- *
- * The following configuration options can be set:
- *
- * CONFIG_ENDIAN_BIG
- * Uses processor with big endian addressing. Default is little endian.
- *
- * CONFIG_MEMCPY_PRE_INC_PTRS
- * Use pre increment of pointers. Default is post increment of pointers.
- *
- * CONFIG_MEMCPY_INDEXED_COPY
- * Copying data using array indexing. Using this option, disables the
- * CONFIG_MEMCPY_PRE_INC_PTRS option.
- *
- * CONFIG_MEMCPY_64BIT - Compiles memcpy for 64 bit architectures
- *
- ****************************************************************************/
-
-/****************************************************************************
- * Configuration definitions.
- ****************************************************************************/
-
-#define CONFIG_MEMCPY_INDEXED_COPY
-
-/********************************************************************
- * Included Files
- *******************************************************************/
-
-#include <nuttx/config.h>
-#include <nuttx/compiler.h>
-
-#include <stddef.h>
-#include <stdint.h>
-#include <string.h>
-
-/********************************************************************
- * Pre-processor Definitions
- *******************************************************************/
-
-/* Can't support CONFIG_MEMCPY_64BIT if the platform does not have 64-bit
- * integer types.
- */
-
-#ifndef CONFIG_HAVE_LONG_LONG
-# undef CONFIG_MEMCPY_64BIT
-#endif
-
-/* Remove definitions when CONFIG_MEMCPY_INDEXED_COPY is defined */
-
-#if defined (CONFIG_MEMCPY_INDEXED_COPY)
-# if defined (CONFIG_MEMCPY_PRE_INC_PTRS)
-# undef CONFIG_MEMCPY_PRE_INC_PTRS
-# endif /* CONFIG_MEMCPY_PRE_INC_PTRS */
-#endif /* CONFIG_MEMCPY_INDEXED_COPY */
-
-/* Definitions for pre and post increment of pointers */
-
-#if defined (CONFIG_MEMCPY_PRE_INC_PTRS)
-
-# define START_VAL(x) (x)--
-# define INC_VAL(x) *++(x)
-# define CAST_TO_U8(p, o) ((uint8_t*)p + o + TYPE_WIDTH)
-# define WHILE_DEST_BREAK (TYPE_WIDTH - 1)
-# define PRE_LOOP_ADJUST - (TYPE_WIDTH - 1)
-# define PRE_SWITCH_ADJUST + 1
-
-#else /* CONFIG_MEMCPY_PRE_INC_PTRS */
-
-# define START_VAL(x)
-# define INC_VAL(x) *(x)++
-# define CAST_TO_U8(p, o) ((uint8_t*)p + o)
-# define WHILE_DEST_BREAK 0
-# define PRE_LOOP_ADJUST
-# define PRE_SWITCH_ADJUST
-
-#endif /* CONFIG_MEMCPY_PRE_INC_PTRS */
-
-/* Definitions for endian-ness */
-
-#ifdef CONFIG_ENDIAN_BIG
-
-# define SHL <<
-# define SHR >>
-
-#else /* CONFIG_ENDIAN_BIG */
-
-# define SHL >>
-# define SHR <<
-
-#endif /* CONFIG_ENDIAN_BIG */
-
-/********************************************************************
- * Macros for copying words of different alignment.
- * Uses incremening pointers.
- *******************************************************************/
-
-#define CP_INCR() \
-{ \
- INC_VAL(dstN) = INC_VAL(srcN); \
-}
-
-#define CP_INCR_SH(shl, shr) \
-{ \
- dstWord = srcWord SHL shl; \
- srcWord = INC_VAL(srcN); \
- dstWord |= srcWord SHR shr; \
- INC_VAL(dstN) = dstWord; \
-}
-
-/********************************************************************
- * Macros for copying words of different alignment.
- * Uses array indexes.
- *******************************************************************/
-
-#define CP_INDEX(idx) \
-{ \
- dstN[idx] = srcN[idx]; \
-}
-
-#define CP_INDEX_SH(x, shl, shr) \
-{ \
- dstWord = srcWord SHL shl; \
- srcWord = srcN[x]; \
- dstWord |= srcWord SHR shr; \
- dstN[x] = dstWord; \
-}
-
-/********************************************************************
- * Macros for copying words of different alignment.
- * Uses incremening pointers or array indexes depending on
- * configuration.
- *******************************************************************/
-
-#if defined (CONFIG_MEMCPY_INDEXED_COPY)
-
-# define CP(idx) CP_INDEX(idx)
-# define CP_SH(idx, shl, shr) CP_INDEX_SH(idx, shl, shr)
-
-# define INC_INDEX(p, o) ((p) += (o))
-
-#else /* CONFIG_MEMCPY_INDEXED_COPY */
-
-# define CP(idx) CP_INCR()
-# define CP_SH(idx, shl, shr) CP_INCR_SH(shl, shr)
-
-# define INC_INDEX(p, o)
-
-#endif /* CONFIG_MEMCPY_INDEXED_COPY */
-
-#define COPY_REMAINING(count) \
-{ \
- START_VAL(dst8); \
- START_VAL(src8); \
- \
- switch (count) \
- { \
- case 7: INC_VAL(dst8) = INC_VAL(src8); \
- case 6: INC_VAL(dst8) = INC_VAL(src8); \
- case 5: INC_VAL(dst8) = INC_VAL(src8); \
- case 4: INC_VAL(dst8) = INC_VAL(src8); \
- case 3: INC_VAL(dst8) = INC_VAL(src8); \
- case 2: INC_VAL(dst8) = INC_VAL(src8); \
- case 1: INC_VAL(dst8) = INC_VAL(src8); \
- case 0: \
- default: break; \
- } \
-}
-
-#define COPY_NO_SHIFT() \
-{ \
- UIntN* dstN = (UIntN*)(dst8 PRE_LOOP_ADJUST); \
- UIntN* srcN = (UIntN*)(src8 PRE_LOOP_ADJUST); \
- size_t length = count / TYPE_WIDTH; \
- \
- while (length & 7) \
- { \
- CP_INCR(); \
- length--; \
- } \
- \
- length /= 8; \
- \
- while (length--) \
- { \
- CP(0); \
- CP(1); \
- CP(2); \
- CP(3); \
- CP(4); \
- CP(5); \
- CP(6); \
- CP(7); \
- \
- INC_INDEX(dstN, 8); \
- INC_INDEX(srcN, 8); \
- } \
- \
- src8 = CAST_TO_U8(srcN, 0); \
- dst8 = CAST_TO_U8(dstN, 0); \
- \
- COPY_REMAINING(count & (TYPE_WIDTH - 1)); \
- \
- return dest; \
-}
-
-#define COPY_SHIFT(shift) \
-{ \
- UIntN* dstN = (UIntN*)((((UIntN)dst8) PRE_LOOP_ADJUST) & \
- ~(TYPE_WIDTH - 1)); \
- UIntN* srcN = (UIntN*)((((UIntN)src8) PRE_LOOP_ADJUST) & \
- ~(TYPE_WIDTH - 1)); \
- size_t length = count / TYPE_WIDTH; \
- UIntN srcWord = INC_VAL(srcN); \
- UIntN dstWord; \
- \
- while (length & 7) \
- { \
- CP_INCR_SH(8 * shift, 8 * (TYPE_WIDTH - shift)); \
- length--; \
- } \
- \
- length /= 8; \
- \
- while (length--) \
- { \
- CP_SH(0, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
- CP_SH(1, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
- CP_SH(2, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
- CP_SH(3, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
- CP_SH(4, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
- CP_SH(5, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
- CP_SH(6, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
- CP_SH(7, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
- \
- INC_INDEX(dstN, 8); \
- INC_INDEX(srcN, 8); \
- } \
- \
- src8 = CAST_TO_U8(srcN, (shift - TYPE_WIDTH)); \
- dst8 = CAST_TO_U8(dstN, 0); \
- \
- COPY_REMAINING(count & (TYPE_WIDTH - 1)); \
- \
- return dest; \
-}
-
-/********************************************************************
- * Type Definitions
- *******************************************************************/
-
-#ifdef CONFIG_MEMCPY_64BIT
-typedef uint64_t UIntN;
-# define TYPE_WIDTH 8L
-#else
-typedef uint32_t UIntN;
-# define TYPE_WIDTH 4L
-#endif
-
-/********************************************************************
- * Public Functions
- *******************************************************************/
-/********************************************************************
- * Name: memcpy
- *
- * Description:
- * Copies count bytes from src to dest. No overlap check is performed.
- *
- * Input Parameters:
- * dest - pointer to destination buffer
- * src - pointer to source buffer
- * count - number of bytes to copy
- *
- * Returned Value:
- * A pointer to destination buffer
- *
- *******************************************************************/
-
-void *memcpy(void *dest, const void *src, size_t count)
-{
- uint8_t *dst8 = (uint8_t*)dest;
- uint8_t *src8 = (uint8_t*)src;
-
- if (count < 8)
- {
- COPY_REMAINING(count);
- return dest;
- }
-
- START_VAL(dst8);
- START_VAL(src8);
-
- while (((UIntN)dst8 & (TYPE_WIDTH - 1)) != WHILE_DEST_BREAK)
- {
- INC_VAL(dst8) = INC_VAL(src8);
- count--;
- }
-
- switch ((((UIntN)src8) PRE_SWITCH_ADJUST) & (TYPE_WIDTH - 1))
- {
- case 0: COPY_NO_SHIFT(); break;
- case 1: COPY_SHIFT(1); break;
- case 2: COPY_SHIFT(2); break;
- case 3: COPY_SHIFT(3); break;
-#if TYPE_WIDTH > 4
- case 4: COPY_SHIFT(4); break;
- case 5: COPY_SHIFT(5); break;
- case 6: COPY_SHIFT(6); break;
- case 7: COPY_SHIFT(7); break;
-#endif
- }
-
- return dest;
-}
+/****************************************************************************
+ * File: libc/string/lib_vikmemcpy.c
+ *
+ * This is version of the optimized memcpy by Daniel Vik, adapted to the
+ * NuttX environment.
+ *
+ * Copyright (C) 1999-2010 Daniel Vik
+ *
+ * Adaptations include:
+ * - File name change
+ * - Use of types defined in stdint.h
+ * - Integration with the NuttX configuration system
+ * - Other cosmetic changes for consistency with NuttX coding standards
+ *
+ * This software is provided 'as-is', without any express or implied
+ * warranty. In no event will the authors be held liable for any
+ * damages arising from the use of this software.
+ * Permission is granted to anyone to use this software for any
+ * purpose, including commercial applications, and to alter it and
+ * redistribute it freely, subject to the following restrictions:
+ *
+ * 1. The origin of this software must not be misrepresented; you
+ * must not claim that you wrote the original software. If you
+ * use this software in a product, an acknowledgment in the
+ * use this software in a product, an acknowledgment in the
+ * product documentation would be appreciated but is not
+ * required.
+ *
+ * 2. Altered source versions must be plainly marked as such, and
+ * must not be misrepresented as being the original software.
+ *
+ * 3. This notice may not be removed or altered from any source
+ * distribution.
+ *
+ * Description: Implementation of the standard library function memcpy.
+ * This implementation of memcpy() is ANSI-C89 compatible.
+ *
+ * The following configuration options can be set:
+ *
+ * CONFIG_ENDIAN_BIG
+ * Uses processor with big endian addressing. Default is little endian.
+ *
+ * CONFIG_MEMCPY_PRE_INC_PTRS
+ * Use pre increment of pointers. Default is post increment of pointers.
+ *
+ * CONFIG_MEMCPY_INDEXED_COPY
+ * Copying data using array indexing. Using this option, disables the
+ * CONFIG_MEMCPY_PRE_INC_PTRS option.
+ *
+ * CONFIG_MEMCPY_64BIT - Compiles memcpy for 64 bit architectures
+ *
+ ****************************************************************************/
+
+/****************************************************************************
+ * Configuration definitions.
+ ****************************************************************************/
+
+#define CONFIG_MEMCPY_INDEXED_COPY
+
+/********************************************************************
+ * Included Files
+ *******************************************************************/
+
+#include <nuttx/config.h>
+#include <nuttx/compiler.h>
+
+#include <stddef.h>
+#include <stdint.h>
+#include <string.h>
+
+/********************************************************************
+ * Pre-processor Definitions
+ *******************************************************************/
+
+/* Can't support CONFIG_MEMCPY_64BIT if the platform does not have 64-bit
+ * integer types.
+ */
+
+#ifndef CONFIG_HAVE_LONG_LONG
+# undef CONFIG_MEMCPY_64BIT
+#endif
+
+/* Remove definitions when CONFIG_MEMCPY_INDEXED_COPY is defined */
+
+#if defined (CONFIG_MEMCPY_INDEXED_COPY)
+# if defined (CONFIG_MEMCPY_PRE_INC_PTRS)
+# undef CONFIG_MEMCPY_PRE_INC_PTRS
+# endif /* CONFIG_MEMCPY_PRE_INC_PTRS */
+#endif /* CONFIG_MEMCPY_INDEXED_COPY */
+
+/* Definitions for pre and post increment of pointers */
+
+#if defined (CONFIG_MEMCPY_PRE_INC_PTRS)
+
+# define START_VAL(x) (x)--
+# define INC_VAL(x) *++(x)
+# define CAST_TO_U8(p, o) ((uint8_t*)p + o + TYPE_WIDTH)
+# define WHILE_DEST_BREAK (TYPE_WIDTH - 1)
+# define PRE_LOOP_ADJUST - (TYPE_WIDTH - 1)
+# define PRE_SWITCH_ADJUST + 1
+
+#else /* CONFIG_MEMCPY_PRE_INC_PTRS */
+
+# define START_VAL(x)
+# define INC_VAL(x) *(x)++
+# define CAST_TO_U8(p, o) ((uint8_t*)p + o)
+# define WHILE_DEST_BREAK 0
+# define PRE_LOOP_ADJUST
+# define PRE_SWITCH_ADJUST
+
+#endif /* CONFIG_MEMCPY_PRE_INC_PTRS */
+
+/* Definitions for endian-ness */
+
+#ifdef CONFIG_ENDIAN_BIG
+
+# define SHL <<
+# define SHR >>
+
+#else /* CONFIG_ENDIAN_BIG */
+
+# define SHL >>
+# define SHR <<
+
+#endif /* CONFIG_ENDIAN_BIG */
+
+/********************************************************************
+ * Macros for copying words of different alignment.
+ * Uses incremening pointers.
+ *******************************************************************/
+
+#define CP_INCR() \
+{ \
+ INC_VAL(dstN) = INC_VAL(srcN); \
+}
+
+#define CP_INCR_SH(shl, shr) \
+{ \
+ dstWord = srcWord SHL shl; \
+ srcWord = INC_VAL(srcN); \
+ dstWord |= srcWord SHR shr; \
+ INC_VAL(dstN) = dstWord; \
+}
+
+/********************************************************************
+ * Macros for copying words of different alignment.
+ * Uses array indexes.
+ *******************************************************************/
+
+#define CP_INDEX(idx) \
+{ \
+ dstN[idx] = srcN[idx]; \
+}
+
+#define CP_INDEX_SH(x, shl, shr) \
+{ \
+ dstWord = srcWord SHL shl; \
+ srcWord = srcN[x]; \
+ dstWord |= srcWord SHR shr; \
+ dstN[x] = dstWord; \
+}
+
+/********************************************************************
+ * Macros for copying words of different alignment.
+ * Uses incremening pointers or array indexes depending on
+ * configuration.
+ *******************************************************************/
+
+#if defined (CONFIG_MEMCPY_INDEXED_COPY)
+
+# define CP(idx) CP_INDEX(idx)
+# define CP_SH(idx, shl, shr) CP_INDEX_SH(idx, shl, shr)
+
+# define INC_INDEX(p, o) ((p) += (o))
+
+#else /* CONFIG_MEMCPY_INDEXED_COPY */
+
+# define CP(idx) CP_INCR()
+# define CP_SH(idx, shl, shr) CP_INCR_SH(shl, shr)
+
+# define INC_INDEX(p, o)
+
+#endif /* CONFIG_MEMCPY_INDEXED_COPY */
+
+#define COPY_REMAINING(count) \
+{ \
+ START_VAL(dst8); \
+ START_VAL(src8); \
+ \
+ switch (count) \
+ { \
+ case 7: INC_VAL(dst8) = INC_VAL(src8); \
+ case 6: INC_VAL(dst8) = INC_VAL(src8); \
+ case 5: INC_VAL(dst8) = INC_VAL(src8); \
+ case 4: INC_VAL(dst8) = INC_VAL(src8); \
+ case 3: INC_VAL(dst8) = INC_VAL(src8); \
+ case 2: INC_VAL(dst8) = INC_VAL(src8); \
+ case 1: INC_VAL(dst8) = INC_VAL(src8); \
+ case 0: \
+ default: break; \
+ } \
+}
+
+#define COPY_NO_SHIFT() \
+{ \
+ UIntN* dstN = (UIntN*)(dst8 PRE_LOOP_ADJUST); \
+ UIntN* srcN = (UIntN*)(src8 PRE_LOOP_ADJUST); \
+ size_t length = count / TYPE_WIDTH; \
+ \
+ while (length & 7) \
+ { \
+ CP_INCR(); \
+ length--; \
+ } \
+ \
+ length /= 8; \
+ \
+ while (length--) \
+ { \
+ CP(0); \
+ CP(1); \
+ CP(2); \
+ CP(3); \
+ CP(4); \
+ CP(5); \
+ CP(6); \
+ CP(7); \
+ \
+ INC_INDEX(dstN, 8); \
+ INC_INDEX(srcN, 8); \
+ } \
+ \
+ src8 = CAST_TO_U8(srcN, 0); \
+ dst8 = CAST_TO_U8(dstN, 0); \
+ \
+ COPY_REMAINING(count & (TYPE_WIDTH - 1)); \
+ \
+ return dest; \
+}
+
+#define COPY_SHIFT(shift) \
+{ \
+ UIntN* dstN = (UIntN*)((((UIntN)dst8) PRE_LOOP_ADJUST) & \
+ ~(TYPE_WIDTH - 1)); \
+ UIntN* srcN = (UIntN*)((((UIntN)src8) PRE_LOOP_ADJUST) & \
+ ~(TYPE_WIDTH - 1)); \
+ size_t length = count / TYPE_WIDTH; \
+ UIntN srcWord = INC_VAL(srcN); \
+ UIntN dstWord; \
+ \
+ while (length & 7) \
+ { \
+ CP_INCR_SH(8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ length--; \
+ } \
+ \
+ length /= 8; \
+ \
+ while (length--) \
+ { \
+ CP_SH(0, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ CP_SH(1, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ CP_SH(2, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ CP_SH(3, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ CP_SH(4, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ CP_SH(5, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ CP_SH(6, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ CP_SH(7, 8 * shift, 8 * (TYPE_WIDTH - shift)); \
+ \
+ INC_INDEX(dstN, 8); \
+ INC_INDEX(srcN, 8); \
+ } \
+ \
+ src8 = CAST_TO_U8(srcN, (shift - TYPE_WIDTH)); \
+ dst8 = CAST_TO_U8(dstN, 0); \
+ \
+ COPY_REMAINING(count & (TYPE_WIDTH - 1)); \
+ \
+ return dest; \
+}
+
+/********************************************************************
+ * Type Definitions
+ *******************************************************************/
+
+#ifdef CONFIG_MEMCPY_64BIT
+typedef uint64_t UIntN;
+# define TYPE_WIDTH 8L
+#else
+typedef uint32_t UIntN;
+# define TYPE_WIDTH 4L
+#endif
+
+/********************************************************************
+ * Public Functions
+ *******************************************************************/
+/********************************************************************
+ * Name: memcpy
+ *
+ * Description:
+ * Copies count bytes from src to dest. No overlap check is performed.
+ *
+ * Input Parameters:
+ * dest - pointer to destination buffer
+ * src - pointer to source buffer
+ * count - number of bytes to copy
+ *
+ * Returned Value:
+ * A pointer to destination buffer
+ *
+ *******************************************************************/
+
+void *memcpy(void *dest, const void *src, size_t count)
+{
+ uint8_t *dst8 = (uint8_t*)dest;
+ uint8_t *src8 = (uint8_t*)src;
+
+ if (count < 8)
+ {
+ COPY_REMAINING(count);
+ return dest;
+ }
+
+ START_VAL(dst8);
+ START_VAL(src8);
+
+ while (((UIntN)dst8 & (TYPE_WIDTH - 1)) != WHILE_DEST_BREAK)
+ {
+ INC_VAL(dst8) = INC_VAL(src8);
+ count--;
+ }
+
+ switch ((((UIntN)src8) PRE_SWITCH_ADJUST) & (TYPE_WIDTH - 1))
+ {
+ case 0: COPY_NO_SHIFT(); break;
+ case 1: COPY_SHIFT(1); break;
+ case 2: COPY_SHIFT(2); break;
+ case 3: COPY_SHIFT(3); break;
+#if TYPE_WIDTH > 4
+ case 4: COPY_SHIFT(4); break;
+ case 5: COPY_SHIFT(5); break;
+ case 6: COPY_SHIFT(6); break;
+ case 7: COPY_SHIFT(7); break;
+#endif
+ }
+
+ return dest;
+}
diff --git a/nuttx/libc/termios/Make.defs b/nuttx/libc/termios/Make.defs
index a6bb77f83..d20a5f95c 100644
--- a/nuttx/libc/termios/Make.defs
+++ b/nuttx/libc/termios/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/misc/Make.defs
+# libc/misc/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/termios/lib_cfgetspeed.c b/nuttx/libc/termios/lib_cfgetspeed.c
index d7f0dc473..da10daac1 100644
--- a/nuttx/libc/termios/lib_cfgetspeed.c
+++ b/nuttx/libc/termios/lib_cfgetspeed.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/termios/lib_cfgetspeed.c
+ * libc/termios/lib_cfgetspeed.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/termios/lib_cfsetspeed.c b/nuttx/libc/termios/lib_cfsetspeed.c
index 714562ff5..a2a9475c4 100644
--- a/nuttx/libc/termios/lib_cfsetspeed.c
+++ b/nuttx/libc/termios/lib_cfsetspeed.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/termios/lib_cfsetspeed.c
+ * libc/termios/lib_cfsetspeed.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/termios/lib_tcflush.c b/nuttx/libc/termios/lib_tcflush.c
index 338524bdd..1a9710f6a 100644
--- a/nuttx/libc/termios/lib_tcflush.c
+++ b/nuttx/libc/termios/lib_tcflush.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/termios/lib_tcflush.c
+ * libc/termios/lib_tcflush.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/termios/lib_tcgetattr.c b/nuttx/libc/termios/lib_tcgetattr.c
index 500871d9f..e8d311260 100644
--- a/nuttx/libc/termios/lib_tcgetattr.c
+++ b/nuttx/libc/termios/lib_tcgetattr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/termios/lib_tcgetattr.c
+ * libc/termios/lib_tcgetattr.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/termios/lib_tcsetattr.c b/nuttx/libc/termios/lib_tcsetattr.c
index 791b519c8..901f2a136 100644
--- a/nuttx/libc/termios/lib_tcsetattr.c
+++ b/nuttx/libc/termios/lib_tcsetattr.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/termios/lib_tcsetattr.c
+ * libc/termios/lib_tcsetattr.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/Make.defs b/nuttx/libc/time/Make.defs
index ab7414229..4848813d1 100644
--- a/nuttx/libc/time/Make.defs
+++ b/nuttx/libc/time/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/time/Make.defs
+# libc/time/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/lib_calendar2utc.c b/nuttx/libc/time/lib_calendar2utc.c
index e80c292fc..1b8c40a9e 100644
--- a/nuttx/libc/time/lib_calendar2utc.c
+++ b/nuttx/libc/time/lib_calendar2utc.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/time/lib_calendar2utc.c
+ * libc/time/lib_calendar2utc.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/lib_daysbeforemonth.c b/nuttx/libc/time/lib_daysbeforemonth.c
index 8000b0e7a..28f4d67a9 100644
--- a/nuttx/libc/time/lib_daysbeforemonth.c
+++ b/nuttx/libc/time/lib_daysbeforemonth.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/time/lib_daysbeforemonth.c
+ * libc/time/lib_daysbeforemonth.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/lib_gmtime.c b/nuttx/libc/time/lib_gmtime.c
index 99afeded9..7a4d0f5e1 100644
--- a/nuttx/libc/time/lib_gmtime.c
+++ b/nuttx/libc/time/lib_gmtime.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/time/lib_gmtime.c
+ * libc/time/lib_gmtime.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/lib_gmtimer.c b/nuttx/libc/time/lib_gmtimer.c
index ba1c9724f..d98620527 100644
--- a/nuttx/libc/time/lib_gmtimer.c
+++ b/nuttx/libc/time/lib_gmtimer.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/time/lib_gmtimer.c
+ * libc/time/lib_gmtimer.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/lib_isleapyear.c b/nuttx/libc/time/lib_isleapyear.c
index 966c248e0..386e205b2 100644
--- a/nuttx/libc/time/lib_isleapyear.c
+++ b/nuttx/libc/time/lib_isleapyear.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/time/lib_isleapyear.c
+ * libc/time/lib_isleapyear.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/lib_mktime.c b/nuttx/libc/time/lib_mktime.c
index 8c17e7c0a..25254d70e 100644
--- a/nuttx/libc/time/lib_mktime.c
+++ b/nuttx/libc/time/lib_mktime.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/time/lib_mktime.c
+ * libc/time/lib_mktime.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/lib_strftime.c b/nuttx/libc/time/lib_strftime.c
index cd0804f55..3b0c8dd8f 100644
--- a/nuttx/libc/time/lib_strftime.c
+++ b/nuttx/libc/time/lib_strftime.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/time/lib_strftime.c
+ * libc/time/lib_strftime.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/time/lib_time.c b/nuttx/libc/time/lib_time.c
index 106a04c36..673f6fdcd 100644
--- a/nuttx/libc/time/lib_time.c
+++ b/nuttx/libc/time/lib_time.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/time/lib_time.c
+ * libc/time/lib_time.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/unistd/Make.defs b/nuttx/libc/unistd/Make.defs
index e1441a48d..67fce9b1d 100644
--- a/nuttx/libc/unistd/Make.defs
+++ b/nuttx/libc/unistd/Make.defs
@@ -1,5 +1,5 @@
############################################################################
-# lib/unistd/Make.defs
+# libc/unistd/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/unistd/lib_chdir.c b/nuttx/libc/unistd/lib_chdir.c
index 3dd1333ce..8953fb19b 100644
--- a/nuttx/libc/unistd/lib_chdir.c
+++ b/nuttx/libc/unistd/lib_chdir.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/unistd/lib_chdir.c
+ * libc/unistd/lib_chdir.c
*
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/unistd/lib_getcwd.c b/nuttx/libc/unistd/lib_getcwd.c
index b94823300..717ef2971 100644
--- a/nuttx/libc/unistd/lib_getcwd.c
+++ b/nuttx/libc/unistd/lib_getcwd.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/unistd/lib_getcwd.c
+ * libc/unistd/lib_getcwd.c
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/unistd/lib_getopt.c b/nuttx/libc/unistd/lib_getopt.c
index 832d28721..1a9190976 100644
--- a/nuttx/libc/unistd/lib_getopt.c
+++ b/nuttx/libc/unistd/lib_getopt.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/unistd/lib_getopt.c
+ * libc/unistd/lib_getopt.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/unistd/lib_getoptargp.c b/nuttx/libc/unistd/lib_getoptargp.c
index 98a485016..5610342ca 100644
--- a/nuttx/libc/unistd/lib_getoptargp.c
+++ b/nuttx/libc/unistd/lib_getoptargp.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/unistd/lib_getoptargp.c
+ * libc/unistd/lib_getoptargp.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/unistd/lib_getoptindp.c b/nuttx/libc/unistd/lib_getoptindp.c
index 7714f8e70..94ea4d3fc 100644
--- a/nuttx/libc/unistd/lib_getoptindp.c
+++ b/nuttx/libc/unistd/lib_getoptindp.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/unistd/lib_getoptindp.c
+ * libc/unistd/lib_getoptindp.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/libc/unistd/lib_getoptoptp.c b/nuttx/libc/unistd/lib_getoptoptp.c
index 4805b7ac3..cd99b172f 100644
--- a/nuttx/libc/unistd/lib_getoptoptp.c
+++ b/nuttx/libc/unistd/lib_getoptoptp.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * lib/unistd/lib_getoptoptp.c
+ * libc/unistd/lib_getoptoptp.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>