Changeset f3d47c97 in mainline


Ignore:
Timestamp:
2018-03-11T20:38:03Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a35a3d8
Parents:
84239b1
Message:

Bdsh's xxx_def.h files are not valid headers.

Location:
uspace/app/bdsh/cmds
Files:
3 edited
20 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/builtins/builtins.h

    r84239b1 rf3d47c97  
    99
    1010builtin_t builtins[] = {
    11 #include "batch/batch_def.h"
    12 #include "cd/cd_def.h"
    13 #include "exit/exit_def.h"
     11#include "batch/batch_def.inc"
     12#include "cd/cd_def.inc"
     13#include "exit/exit_def.inc"
    1414        {NULL, NULL, NULL, NULL, 0}
    1515};
  • uspace/app/bdsh/cmds/mknewcmd

    r84239b1 rf3d47c97  
    9090generate_code()
    9191{
    92         echo "Creating ${OUTDIR}/${CMDNAME}_def.h ..."
    93         cat << EOF > ${OUTDIR}/${CMDNAME}_def.h
     92        echo "Creating ${OUTDIR}/${CMDNAME}_def.inc ..."
     93        cat << EOF > ${OUTDIR}/${CMDNAME}_def.inc
    9494{
    9595        "${CMDNAME}",
     
    100100
    101101EOF
    102         [ -n "${CMDALIAS}" ] && cat << EOF >> ${OUTDIR}/${CMDNAME}_def.h
     102        [ -n "${CMDALIAS}" ] && cat << EOF >> ${OUTDIR}/${CMDNAME}_def.inc
    103103{
    104104        "${CMDALIAS}",
  • uspace/app/bdsh/cmds/modules/modules.h

    r84239b1 rf3d47c97  
    6969
    7070module_t modules[] = {
    71 #include "help/help_def.h"
    72 #include "mkdir/mkdir_def.h"
    73 #include "mkfile/mkfile_def.h"
    74 #include "rm/rm_def.h"
    75 #include "cat/cat_def.h"
    76 #include "touch/touch_def.h"
    77 #include "ls/ls_def.h"
    78 #include "pwd/pwd_def.h"
    79 #include "sleep/sleep_def.h"
    80 #include "cp/cp_def.h"
    81 #include "mv/mv_def.h"
    82 #include "mount/mount_def.h"
    83 #include "unmount/unmount_def.h"
    84 #include "kcon/kcon_def.h"
    85 #include "printf/printf_def.h"
    86 #include "echo/echo_def.h"
    87 #include "cmp/cmp_def.h"
     71#include "help/help_def.inc"
     72#include "mkdir/mkdir_def.inc"
     73#include "mkfile/mkfile_def.inc"
     74#include "rm/rm_def.inc"
     75#include "cat/cat_def.inc"
     76#include "touch/touch_def.inc"
     77#include "ls/ls_def.inc"
     78#include "pwd/pwd_def.inc"
     79#include "sleep/sleep_def.inc"
     80#include "cp/cp_def.inc"
     81#include "mv/mv_def.inc"
     82#include "mount/mount_def.inc"
     83#include "unmount/unmount_def.inc"
     84#include "kcon/kcon_def.inc"
     85#include "printf/printf_def.inc"
     86#include "echo/echo_def.inc"
     87#include "cmp/cmp_def.inc"
    8888
    8989        {NULL, NULL, NULL, NULL}
Note: See TracChangeset for help on using the changeset viewer.