mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-21 23:29:16 +00:00
move #pragma's out of source when possible (depend on makefile)
This commit is contained in:
parent
8f24a49223
commit
f6a8741209
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: gnomisc.c,v 1.1 1997/02/28 05:12:47 gdr Exp $
|
* $Id: gnomisc.c,v 1.2 1997/09/21 06:07:24 gdr Exp $
|
||||||
*
|
*
|
||||||
* This file is formatted with tabs every 8 characters.
|
* This file is formatted with tabs every 8 characters.
|
||||||
*/
|
*/
|
||||||
@ -8,9 +8,7 @@
|
|||||||
segment "libc_gno__";
|
segment "libc_gno__";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma optimize 0 /* optimization breaks this file (79, 15 tried) */
|
#pragma optimize 78 /* optimization breaks this file (79, 15 tried) */
|
||||||
#pragma debug 0
|
|
||||||
#pragma memorymodel 0
|
|
||||||
|
|
||||||
#include <sys/syslimits.h>
|
#include <sys/syslimits.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -10,17 +10,13 @@
|
|||||||
* from the GNO v2.0.4 libc(3) man page (with a change of argument and
|
* from the GNO v2.0.4 libc(3) man page (with a change of argument and
|
||||||
* result types) by Devin Reade. __C2GS was written by Devin Reade.
|
* result types) by Devin Reade. __C2GS was written by Devin Reade.
|
||||||
*
|
*
|
||||||
* $Id: gsstring.c,v 1.1 1997/02/28 05:12:47 gdr Exp $
|
* $Id: gsstring.c,v 1.2 1997/09/21 06:07:24 gdr Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __ORCAC__
|
#ifdef __ORCAC__
|
||||||
segment "libc_gno__";
|
segment "libc_gno__";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma optimize 0 /* 79 seems to work */
|
|
||||||
#pragma debug 0
|
|
||||||
#pragma memorymodel 0
|
|
||||||
|
|
||||||
#include <machine/limits.h>
|
#include <machine/limits.h>
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
#include <gno/gno.h>
|
#include <gno/gno.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* libc/gno/map.c -- various mapping functions
|
* libc/gno/map.c -- various mapping functions
|
||||||
*
|
*
|
||||||
* $Id: map.c,v 1.2 1997/09/05 06:14:16 gdr Exp $
|
* $Id: map.c,v 1.3 1997/09/21 06:08:11 gdr Exp $
|
||||||
*
|
*
|
||||||
* This file is formatted with tabstops every 8 columns
|
* This file is formatted with tabstops every 8 columns
|
||||||
*/
|
*/
|
||||||
@ -10,18 +10,11 @@
|
|||||||
segment "libc_gno__";
|
segment "libc_gno__";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma optimize 0
|
|
||||||
#pragma memorymodel 0
|
|
||||||
#pragma debug 0
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <gno/gno.h>
|
#include <gno/gno.h>
|
||||||
|
|
||||||
/* needed only during debugging */
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#define GS_READ 0x0001
|
#define GS_READ 0x0001
|
||||||
#define GS_WRITE 0x0002
|
#define GS_WRITE 0x0002
|
||||||
#define GS_INVISIBLE 0x0004
|
#define GS_INVISIBLE 0x0004
|
||||||
|
Loading…
Reference in New Issue
Block a user