Skip to content

Commit

Permalink
Add license to all significant files in D frontend.
Browse files Browse the repository at this point in the history
  • Loading branch information
Iain Buclaw committed Jun 20, 2012
1 parent 8845f52 commit ee14453
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 3 deletions.
9 changes: 9 additions & 0 deletions src/root/aav.c
@@ -1,3 +1,12 @@

// Copyright (c) 2010-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

/**
* Implementation of associative arrays.
*
Expand Down
8 changes: 8 additions & 0 deletions src/root/aav.h
@@ -1,4 +1,12 @@

// Copyright (c) 2010-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

typedef void* Value;
typedef void* Key;

Expand Down
8 changes: 8 additions & 0 deletions src/root/async.c
@@ -1,4 +1,12 @@

// Copyright (c) 2009-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

#define _MT 1

#include <stdio.h>
Expand Down
8 changes: 8 additions & 0 deletions src/root/gnuc.c
@@ -1,4 +1,12 @@

// Copyright (c) 2009-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

// Put functions in here missing from gnu C

#include "gnuc.h"
Expand Down
8 changes: 8 additions & 0 deletions src/root/gnuc.h
@@ -1,4 +1,12 @@

// Copyright (c) 2009-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

#ifndef _GNUC_H
#define _GNUC_H 1

Expand Down
9 changes: 7 additions & 2 deletions src/root/rmem.c
@@ -1,6 +1,11 @@

/* Copyright (c) 2000 Digital Mars */
/* All Rights Reserved */
// Copyright (c) 2000-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

#include <stdio.h>
#include <stdlib.h>
Expand Down
8 changes: 7 additions & 1 deletion src/root/rmem.h
@@ -1,5 +1,11 @@
// Copyright (C) 2000-2011 by Digital Mars

// Copyright (c) 2000-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

#ifndef ROOT_MEM_H
#define ROOT_MEM_H
Expand Down
8 changes: 8 additions & 0 deletions src/root/speller.c
@@ -1,4 +1,12 @@

// Copyright (c) 2010-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Expand Down
8 changes: 8 additions & 0 deletions src/root/speller.h
@@ -1,4 +1,12 @@

// Copyright (c) 2010-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

typedef void *(fp_speller_t)(void *, const char *);

extern const char idchars[];
Expand Down
8 changes: 8 additions & 0 deletions src/unittests.c
@@ -1,4 +1,12 @@

// Copyright (c) 2010-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// License for redistribution is by either the Artistic License
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.

#include <stdio.h>

#include "mars.h"
Expand Down

0 comments on commit ee14453

Please sign in to comment.