C library: Add swab()

This commit is contained in:
Gregory Nutt
2017-02-16 14:42:27 -06:00
parent 3b351615be
commit a49b349614
4 changed files with 17 additions and 9 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
############################################################################
# libc/unistd/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Copyright (C) 2011-2012, 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -35,8 +35,8 @@
# Add the unistd C files to the build
CSRCS += lib_access.c lib_getopt.c lib_getoptargp.c lib_getoptindp.c
CSRCS += lib_getoptoptp.c
CSRCS += lib_access.c lib_swab.c
CSRCS += lib_getopt.c lib_getoptargp.c lib_getoptindp.c lib_getoptoptp.c
ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
ifneq ($(CONFIG_DISABLE_ENVIRON),y)