Changeset fa0fc6 in git


Ignore:
Timestamp:
Aug 29, 2012, 12:26:24 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
fd201f7db7b17b257e7b311d82e82a23c2ee25ac
Parents:
39401391ee86c906c92f41d5e14ecc503d181b92
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-08-29 12:26:24+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-07 19:51:24+02:00
Message:
eliminate extern feFopen in faivour of include findexec and fix feFopen.h itself
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • factory/singext.h

    r3940139 rfa0fc6  
    99#include <factory/cf_gmp.h>
    1010
    11 extern FILE * feFopen ( const char * path, const char * mode);
     11#include <findexec/feFopen.h>
    1212
    1313/*BEGINPUBLIC*/
  • factory/test.cc

    r3940139 rfa0fc6  
    11#include <factory/factory.h>
     2#include <findexec/feFopen.h>
    23
    34int mmInit(void) {
     
    1415Expected in: flat namespace
    1516*/
    16 extern FILE * feFopen ( const char * path, const char * mode);
    1717const int f = (int)(long)(void*)feFopen;
    1818return (f ^ f) + 1;
  • findexec/feFopen.cc

    r3940139 rfa0fc6  
    151151}
    152152
    153 FILE * feFopen(const char *path, const char *mode)
    154 {
    155   return feFopen (path, mode, 0,0,0);
    156 }
    157 
    158153// Make sure that mode contains binary option
    159154FILE* myfopen(const char *path, const char *mode)
  • findexec/feFopen.h

    r3940139 rfa0fc6  
    99#ifdef __cplusplus
    1010
    11 FILE*feFopen(const char *path, const char *mode, char *where, short useWerror=0, short path_only=0);
    12 FILE*feFopen(const char *path, const char *mode);
     11#include <stdio.h>
     12
     13FILE*feFopen(const char *path, const char *mode, char *where=0, short useWerror=0, short path_only=0);
     14
    1315/*
    1416// These are our versions of fopen and fread They are very similar to
     
    1921// do never use fopen and fread
    2022*/
    21 
    2223FILE *myfopen(const char *path, const char *mode);
    23 
    2424size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream);
    2525
Note: See TracChangeset for help on using the changeset viewer.