include/debug.h: Use <nuttx/debug.h> in apps

Replace app-side includes of <debug.h> with <nuttx/debug.h> to use the
header from the NuttX tree explicitly after the header move.

Signed-off-by: Piyush Patle <piyushpatle228@gmail.com>
This commit is contained in:
Piyush Patle 2026-04-01 16:29:59 +05:30 committed by Alan C. Assis
parent 3591378113
commit 9d849adfab
352 changed files with 403 additions and 404 deletions

View file

@ -30,7 +30,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <nuttx/mtd/mtd.h>
#include "fsutils/flash_eraseall.h"

View file

@ -29,7 +29,7 @@
#include <stdlib.h>
#include <getopt.h>
#include <fcntl.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <errno.h>
#include <ctype.h>

View file

@ -29,7 +29,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <debug.h>
#include <nuttx/debug.h>
#include "fsutils/inifile.h"

View file

@ -29,7 +29,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/debug.h>
#include "fsutils/ipcfg.h"
#include "ipcfg.h"

View file

@ -31,7 +31,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/debug.h>
#include "fsutils/ipcfg.h"
#include "ipcfg.h"
@ -154,7 +154,7 @@ static int ipcfg_read_binary(int fd, FAR void *buffer, size_t nbytes)
* Input Parameters:
* fd - File descriptor of the open file to write to
* buffer - Location to write to
* nbytes - Number of bytes to wrtie
* nbytes - Number of bytes to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -265,7 +265,7 @@ static int ipcfg_find_binary(int fd, sa_family_t af)
*
* Input Parameters:
* path - The full path to the IP configuration file
* ipv4cfg - Location to read IPv4 configration to
* ipv4cfg - Location to read IPv4 configuration to
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -316,7 +316,7 @@ errout_with_fd:
*
* Input Parameters:
* path - The full path to the IP configuration file
* ipv6cfg - Location to read IPv6 configration to
* ipv6cfg - Location to read IPv6 configuration to
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -367,7 +367,7 @@ errout_with_fd:
*
* Input Parameters:
* path - The full path to the IP configuration file
* ipv4cfg - The IPv4 configration to write
* ipv4cfg - The IPv4 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -474,7 +474,7 @@ errout_with_fd:
*
* Input Parameters:
* path - The full path to the IP configuration file
* ipv6cfg - The IPv6 configration to write
* ipv6cfg - The IPv6 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any

View file

@ -31,7 +31,7 @@
#include <unistd.h>
#include <ctype.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <arpa/inet.h>
@ -238,7 +238,7 @@ static int ipcfg_put_ipv6addr(FAR FILE *stream, FAR const char *variable,
*
* Input Parameters:
* stream - Stream of the open file to write to
* ipv4cfg - The IPv4 configration to write
* ipv4cfg - The IPv4 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -278,7 +278,7 @@ static int ipcfg_write_ipv4(FAR FILE *stream,
*
* Input Parameters:
* stream - Stream of the open file to write to
* ipv6cfg - The IPv6 configration to write
* ipv6cfg - The IPv6 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -322,7 +322,7 @@ static int ipcfg_write_ipv6(FAR FILE *stream,
* Input Parameters:
* path - The full path to the IP configuration file
* netdev - Network device name string
* ipv4cfg - Location to read IPv4 configration to
* ipv4cfg - Location to read IPv4 configuration to
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -473,7 +473,7 @@ int ipcfg_read_text_ipv4(FAR const char *path, FAR const char *netdev,
* Input Parameters:
* path - The full path to the IP configuration file
* netdev - Network device name string
* ipv6cfg - Location to read IPv6 configration to
* ipv6cfg - Location to read IPv6 configuration to
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -639,7 +639,7 @@ int ipcfg_read_text_ipv6(FAR const char *path, FAR const char *netdev,
* Input Parameters:
* path - The full path to the IP configuration file
* netdev - Network device name string
* ipv4cfg - The IPv4 configration to write
* ipv4cfg - The IPv4 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -726,7 +726,7 @@ int ipcfg_write_text_ipv4(FAR const char *path, FAR const char *netdev,
* Input Parameters:
* path - The full path to the IP configuration file
* netdev - Network device name string
* ipv6cfg - The IPv6 configration to write
* ipv6cfg - The IPv6 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any

View file

@ -29,7 +29,7 @@
#include <inttypes.h>
#include <stdint.h>
#include <string.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <errno.h>
#include "fsutils/mkfatfs.h"

View file

@ -31,7 +31,7 @@
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <errno.h>
#include <unistd.h>

View file

@ -31,7 +31,7 @@
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <unistd.h>
#include <nuttx/fs/fat.h>
@ -206,7 +206,7 @@ static inline void mkfatfs_initmbr(FAR struct fat_format_s *fmt,
/* The following fields are only valid for FAT12/16 */
/* 1@36: Drive number for MSDOS bootstrap -- left zero */
/* 1@36: Drive number for MS-DOS bootstrap -- left zero */
/* 1@37: Reserved (zero) */
@ -268,7 +268,7 @@ static inline void mkfatfs_initmbr(FAR struct fat_format_s *fmt,
/* 12@52: Reserved (zero) */
/* 1@64: Drive number for MSDOS bootstrap -- left zero */
/* 1@64: Drive number for MS-DOS bootstrap -- left zero */
/* 1@65: Reserved (zero) */

View file

@ -32,7 +32,7 @@
#include <stdint.h>
#include <unistd.h>
#include <string.h>
#include <debug.h>
#include <nuttx/debug.h>
#include <sys/stat.h>
#include <sys/ioctl.h>