Changeset ed0e67a for src/tests


Ignore:
Timestamp:
Jul 6, 2016, 1:06:50 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
fcf041c
Parents:
a6151ba
Message:

add stdhdr directory to includes, containing extern "C" include wrappers for standard C include files

Location:
src/tests
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • src/tests/random.c

    ra6151ba red0e67a  
    1 extern "C" {
    2 #include <unistd.h>                                                                             // getpid
    3 } // extern "C"
     1//
     2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
     3//
     4// The contents of this file are covered under the licence agreement in the
     5// file "LICENCE" distributed with Cforall.
     6//
     7// random.c --
     8//
     9// Author           : Peter A. Buhr
     10// Created On       : Tue Jul  5 21:29:30 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Jul  5 21:29:54 2016
     13// Update Count     : 1
     14//
    415
    516#include <fstream>
    617#include <stdlib>                                                                               // random
     18#include <unistd.h>                                                                             // getpid
    719
    820int main() {
  • src/tests/vector/vector_int.c

    ra6151ba red0e67a  
    99// Author           : Richard C. Bilson
    1010// Created On       : Wed May 27 17:56:53 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Apr 27 17:27:12 2016
    13 // Update Count     : 3
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Jul  5 21:00:56 2016
     13// Update Count     : 4
    1414//
    1515
    1616#include "vector_int.h"
    17 extern "C" {
    1817#include <stdlib.h>
    1918#include <assert.h>
    20 }
    2119
    2220#define DEFAULT_CAPACITY 20
Note: See TracChangeset for help on using the changeset viewer.