mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 02:58:01 +08:00
Move include/nuttx/regex.h to include/nuttx/lib/regex.h
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/fs/procfs.h>
|
||||
#include <nuttx/fs/dirent.h>
|
||||
#include <nuttx/regex.h>
|
||||
#include <nuttx/lib/regex.h>
|
||||
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_FS_PROCFS)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/****************************************************************************
|
||||
* include/nuttx/regex.h
|
||||
* include/nuttx/lib/regex.h
|
||||
* Non-standard, pattern-matching APIs available in lib/.
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -34,8 +34,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_REGEX_H
|
||||
#define __INCLUDE_NUTTX_REGEX_H
|
||||
#ifndef __INCLUDE_NUTTX_LIB_REGEX_H
|
||||
#define __INCLUDE_NUTTX_LIB_REGEX_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -80,4 +80,4 @@ int match(const char *pattern, const char *string);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_REGEX_H */
|
||||
#endif /* __INCLUDE_NUTTX_LIB_REGEX_H */
|
||||
+1
-1
@@ -64,7 +64,7 @@
|
||||
"lib_dumpbuffer","debug.h","","void","FAR const char *","FAR const uint8_t *","unsigned int"
|
||||
"lio_listio","aio.h","defined(CONFIG_FS_AIO)","int","int","FAR struct aiocb *const []|FAR struct aiocb *const *","int","FAR struct sigevent *"
|
||||
"llabs","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","long long int","long long int"
|
||||
"match","nuttx/regex.h","","int","const char *","const char *"
|
||||
"match","nuttx/lib/regex.h","","int","const char *","const char *"
|
||||
"memccpy","string.h","","FAR void","FAR void *","FAR const void *","int c","size_t"
|
||||
"memchr","string.h","","FAR void","FAR const void *","int c","size_t"
|
||||
"memcmp","string.h","","int","FAR const void *","FAR const void *","size_t"
|
||||
|
||||
|
@@ -39,7 +39,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
#include <nuttx/regex.h>
|
||||
#include <nuttx/lib/regex.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
|
||||
Reference in New Issue
Block a user