OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_50/] [or1ksim/] [peripheral/] [channels/] [file.c] - Diff between revs 1070 and 1244

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1070 Rev 1244
Line 17... Line 17...
 
 
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
 
 
 
#if HAVE_CONFIG_H
 
#include <config.h>
 
#endif
 
 
#define _GNU_SOURCE     /* for strndup */
#define _GNU_SOURCE     /* for strndup */
 
 
#include <sys/types.h>  /* open() */
#include <sys/types.h>  /* open() */
#include <sys/stat.h>   /* open() */
#include <sys/stat.h>   /* open() */
#include <fcntl.h>      /* open() */
#include <fcntl.h>      /* open() */
#include <malloc.h>     /* calloc(), free() */
#if HAVE_MALLOC_H
 
#include <malloc.h>     /* calloc, free */
 
#endif
#include <string.h>     /* strndup(), strchr() */
#include <string.h>     /* strndup(), strchr() */
#include <errno.h>      /* errno */
#include <errno.h>      /* errno */
#include <unistd.h>     /* close() */
#include <unistd.h>     /* close() */
 
 
#include "channel.h"    /* struct channel_ops */
#include "channel.h"    /* struct channel_ops */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.