mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 22:03:34 +08:00
Header file clean-up
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4948 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* include/sys/mman.h
|
||||
*
|
||||
* Copyright (C) 2008, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SYS_MMAN_H
|
||||
#define __SYS_MMAN_H
|
||||
#ifndef __INCLUDE_SYS_MMAN_H
|
||||
#define __INCLUDE_SYS_MMAN_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -110,4 +110,4 @@ EXTERN int munmap(FAR void *start, size_t length);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYS_MMAN_H */
|
||||
#endif /* __INCLUDE_SYS_MMAN_H */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/sys/mount.h
|
||||
*
|
||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SYS_MOUNT_H
|
||||
#define __SYS_MOUNT_H
|
||||
#ifndef __INCLUDE_SYS_MOUNT_H
|
||||
#define __INCLUDE_SYS_MOUNT_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -74,4 +74,4 @@ EXTERN int umount(const char *target);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYS_MOUNT_H */
|
||||
#endif /* __INCLUDE_SYS_MOUNT_H */
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
****************************************************************************/
|
||||
|
||||
/* Supported prctl() commands.
|
||||
*
|
||||
*
|
||||
* PR_SET_NAME
|
||||
* Set the task (or thread) name for the thread whose ID is in required
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/sys/select.h
|
||||
*
|
||||
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/****************************************************************************
|
||||
* sys/socket.h
|
||||
* include/sys/socket.h
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SYS_SOCKET_H
|
||||
#define __SYS_SOCKET_H
|
||||
#ifndef __INCLUDE_SYS_SOCKET_H
|
||||
#define __INCLUDE_SYS_SOCKET_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -231,4 +231,4 @@ EXTERN int getsockname(int sockfd, FAR struct sockaddr *addr,
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYS_SOCKET_H */
|
||||
#endif /* __INCLUDE_SYS_SOCKET_H */
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SYS_STAT_H
|
||||
#define __SYS_STAT_H
|
||||
#ifndef __INCLUDE_SYS_STAT_H
|
||||
#define __INCLUDE_SYS_STAT_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -94,9 +94,8 @@
|
||||
* Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* This is the simplified struct stat as returned by fstat().
|
||||
* This structure provides information about a specific file
|
||||
* or directory in the file system.
|
||||
/* This is the simplified struct stat as returned by fstat(). This structure
|
||||
* provides information about a specific file or directory in the file system.
|
||||
*/
|
||||
|
||||
struct stat
|
||||
@@ -132,4 +131,4 @@ EXTERN int fstat(int fd, FAR struct stat *buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYS_STAT_H */
|
||||
#endif /* __INCLUDE_SYS_STAT_H */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/sys/statfs.h
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SYS_STATFS_H
|
||||
#define __SYS_STATFS_H
|
||||
#ifndef __INCLUDE_SYS_STATFS_H
|
||||
#define __INCLUDE_SYS_STATFS_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -142,4 +142,4 @@ EXTERN int fstatfs(int fd, struct statfs *buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SYS_STATFS_H */
|
||||
#endif /* __INCLUDE_SYS_STATFS_H */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/sys/time.h
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/sys/types.h
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/sys/vfs.h
|
||||
*
|
||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,15 +33,15 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SYS_VFS_H
|
||||
#define __SYS_VFS_H
|
||||
#ifndef __INCLUDE_SYS_VFS_H
|
||||
#define __INCLUDE_SYS_VFS_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
/* sys/vfs.h is just an alternative location for the
|
||||
* information in sys/statfs.h.
|
||||
/* sys/vfs.h is just an alternative location for the information in
|
||||
* sys/statfs.h.
|
||||
*/
|
||||
|
||||
#include <sys/statfs.h>
|
||||
@@ -58,4 +58,4 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __SYS_VFS_H */
|
||||
#endif /* __INCLUDE_SYS_VFS_H */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/sys/wait.h
|
||||
*
|
||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
Reference in New Issue
Block a user