Changeset 8fc0f47c in mainline


Ignore:
Timestamp:
2012-08-21T10:48:03Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2ee05261
Parents:
67edca6
Message:

Clean Bithenge headers namespace

Move headers into <bithenge/>, put sources into src/.

Location:
uspace
Files:
3 edited
27 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/Makefile

    r67edca6 r8fc0f47c  
    2929USPACE_PREFIX = ../..
    3030LIBS = $(LIBBITHENGE_PREFIX)/libbithenge.a $(LIBBLOCK_PREFIX)/libblock.a
    31 EXTRA_CFLAGS = -I$(LIBBITHENGE_PREFIX) -D__HELENOS__
     31EXTRA_CFLAGS = -I$(LIBBITHENGE_PREFIX)/include -D__HELENOS__
    3232BINARY = bithenge
    3333
  • uspace/app/bithenge/test.c

    r67edca6 r8fc0f47c  
    3939#include <stdlib.h>
    4040#include <sys/types.h>
    41 #include "blob.h"
    42 #include "source.h"
    43 #include "print.h"
    44 #include "script.h"
    45 #include "transform.h"
    46 #include "tree.h"
     41#include <bithenge/blob.h>
     42#include <bithenge/source.h>
     43#include <bithenge/print.h>
     44#include <bithenge/script.h>
     45#include <bithenge/transform.h>
     46#include <bithenge/tree.h>
    4747
    4848int main(int argc, char *argv[])
  • uspace/lib/bithenge/Makefile

    r67edca6 r8fc0f47c  
    2929USPACE_PREFIX = ../..
    3030LIBRARY = libbithenge
    31 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -D__HELENOS__
     31EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -D__HELENOS__ -Iinclude
    3232
    3333SOURCES = \
    34         helenos/block.c \
    35         blob.c \
    36         compound.c \
    37         expression.c \
    38         file.c \
    39         print.c \
    40         script.c \
    41         sequence.c \
    42         source.c \
    43         transform.c \
    44         tree.c
     34        src/helenos/block.c \
     35        src/blob.c \
     36        src/compound.c \
     37        src/expression.c \
     38        src/file.c \
     39        src/print.c \
     40        src/script.c \
     41        src/sequence.c \
     42        src/source.c \
     43        src/transform.c \
     44        src/tree.c
    4545
    4646include $(USPACE_PREFIX)/Makefile.common
  • uspace/lib/bithenge/src/blob.c

    r67edca6 r8fc0f47c  
    3838#include <errno.h>
    3939#include <stdlib.h>
    40 #include "blob.h"
    41 #include "os.h"
    42 #include "tree.h"
     40#include <bithenge/blob.h>
     41#include <bithenge/os.h>
     42#include <bithenge/tree.h>
    4343
    4444/** Initialize a random access blob.
  • uspace/lib/bithenge/src/compound.c

    r67edca6 r8fc0f47c  
    3636
    3737#include <stdlib.h>
    38 #include "compound.h"
    39 #include "expression.h"
    40 #include "os.h"
    41 #include "transform.h"
    42 #include "tree.h"
     38#include <bithenge/compound.h>
     39#include <bithenge/expression.h>
     40#include <bithenge/os.h>
     41#include <bithenge/transform.h>
     42#include <bithenge/tree.h>
    4343
    4444
  • uspace/lib/bithenge/src/expression.c

    r67edca6 r8fc0f47c  
    3838#include <errno.h>
    3939#include <stdlib.h>
    40 #include "blob.h"
    41 #include "expression.h"
    42 #include "os.h"
    43 #include "transform.h"
    44 #include "tree.h"
     40#include <bithenge/blob.h>
     41#include <bithenge/expression.h>
     42#include <bithenge/os.h>
     43#include <bithenge/transform.h>
     44#include <bithenge/tree.h>
    4545
    4646/** Initialize a new expression.
  • uspace/lib/bithenge/src/failure.c

    r67edca6 r8fc0f47c  
    4646#include <unistd.h>
    4747#define BITHENGE_FAILURE_DECLS_ONLY 1
    48 #include "failure.h"
     48#include <bithenge/failure.h>
    4949#include "os.h"
    5050
  • uspace/lib/bithenge/src/file.c

    r67edca6 r8fc0f47c  
    4444#include <sys/types.h>
    4545#include <unistd.h>
    46 #include "blob.h"
    47 #include "file.h"
    48 #include "os.h"
     46#include <bithenge/blob.h>
     47#include <bithenge/file.h>
     48#include <bithenge/os.h>
    4949
    5050typedef struct {
  • uspace/lib/bithenge/src/helenos/block.c

    r67edca6 r8fc0f47c  
    4242#include <macros.h>
    4343#include <stdlib.h>
    44 #include "../blob.h"
     44#include <bithenge/blob.h>
    4545#include "block.h"
    4646
  • uspace/lib/bithenge/src/helenos/block.h

    r67edca6 r8fc0f47c  
    3939
    4040#include <loc.h>
    41 #include "../blob.h"
     41#include <bithenge/tree.h>
    4242
    4343int bithenge_new_block_blob(bithenge_node_t **, service_id_t);
  • uspace/lib/bithenge/src/print.c

    r67edca6 r8fc0f47c  
    4040#include <stdarg.h>
    4141#include <stdio.h>
    42 #include "blob.h"
    43 #include "print.h"
    44 #include "tree.h"
     42#include <bithenge/blob.h>
     43#include <bithenge/print.h>
     44#include <bithenge/tree.h>
    4545
    4646typedef struct {
  • uspace/lib/bithenge/src/script.c

    r67edca6 r8fc0f47c  
    3838#include <stdio.h>
    3939#include <stdlib.h>
    40 #include "compound.h"
    41 #include "expression.h"
    42 #include "os.h"
    43 #include "script.h"
    44 #include "sequence.h"
    45 #include "transform.h"
    46 #include "tree.h"
     40#include <bithenge/compound.h>
     41#include <bithenge/expression.h>
     42#include <bithenge/os.h>
     43#include <bithenge/script.h>
     44#include <bithenge/sequence.h>
     45#include <bithenge/transform.h>
     46#include <bithenge/tree.h>
    4747
    4848/** @cond internal */
  • uspace/lib/bithenge/src/sequence.c

    r67edca6 r8fc0f47c  
    3636
    3737#include <stdlib.h>
    38 #include "blob.h"
    39 #include "expression.h"
    40 #include "os.h"
    41 #include "sequence.h"
    42 #include "tree.h"
     38#include <bithenge/blob.h>
     39#include <bithenge/expression.h>
     40#include <bithenge/os.h>
     41#include <bithenge/sequence.h>
     42#include <bithenge/tree.h>
    4343
    4444
  • uspace/lib/bithenge/src/source.c

    r67edca6 r8fc0f47c  
    3737#include <errno.h>
    3838#include <stdlib.h>
    39 #include "blob.h"
    40 #include "file.h"
    41 #include "source.h"
     39#include <bithenge/blob.h>
     40#include <bithenge/file.h>
     41#include <bithenge/source.h>
    4242
    4343#ifdef __HELENOS__
  • uspace/lib/bithenge/src/transform.c

    r67edca6 r8fc0f47c  
    3939#include <stdarg.h>
    4040#include <stdlib.h>
    41 #include "blob.h"
    42 #include "os.h"
    43 #include "print.h"
    44 #include "transform.h"
     41#include <bithenge/blob.h>
     42#include <bithenge/os.h>
     43#include <bithenge/print.h>
     44#include <bithenge/transform.h>
    4545
    4646
  • uspace/lib/bithenge/src/tree.c

    r67edca6 r8fc0f47c  
    3737#include <errno.h>
    3838#include <stdlib.h>
    39 #include "blob.h"
    40 #include "os.h"
    41 #include "tree.h"
     39#include <bithenge/blob.h>
     40#include <bithenge/os.h>
     41#include <bithenge/tree.h>
    4242
    4343static void blob_destroy(bithenge_node_t *base)
Note: See TracChangeset for help on using the changeset viewer.