diff options
author | John Gilmore <gnu@cygnus> | 1991-11-21 18:42:05 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-21 18:42:05 +0000 |
commit | 7d9884b92772d5b4fa0de57de5caca2d9308c16c (patch) | |
tree | 061a8482b03bad9fd11d08bec0cc8e14ad99b839 /gdb/putenv.c | |
parent | d51bea8d2c6f8392d6a981c7293aee126e5914d5 (diff) | |
download | gdb-7d9884b92772d5b4fa0de57de5caca2d9308c16c.zip gdb-7d9884b92772d5b4fa0de57de5caca2d9308c16c.tar.gz gdb-7d9884b92772d5b4fa0de57de5caca2d9308c16c.tar.bz2 |
* defs.h: Incorporate param.h. All users changed.
* param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead.
* param.h, param-no-tm.h: Removed.
* Update copyrights in all changed files.
* dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c,
solib.c, symtab.h, tm-umax.h, valprint.c: Lint.
* tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h,
xm-merlin.h: Avoid host include files in target descriptions.
* getpagesize.h: Removed, libiberty copes now.
Diffstat (limited to 'gdb/putenv.c')
-rw-r--r-- | gdb/putenv.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gdb/putenv.c b/gdb/putenv.c index f7318f0..bf477f9 100644 --- a/gdb/putenv.c +++ b/gdb/putenv.c @@ -9,21 +9,16 @@ /****************************************************************/ /* -From pacbell!ames!ll-xn!mit-eddie!uw-beaver!ssc-vax!uvicctr!tholm Wed May 4 23:40:52 1988 Path: hoptoad!pacbell!ames!ll-xn!mit-eddie!uw-beaver!ssc-vax!uvicctr!tholm From: tholm@uvicctr.UUCP (Terrence W. Holm) Newsgroups: comp.os.minix Subject: putenv(3) Message-ID: <395@uvicctr.UUCP> Date: 5 May 88 06:40:52 GMT -Reply-To: tholm@uvicctr.UUCP (Terrence W. Holm) Organization: University of Victoria, Victoria B.C. Canada -Lines: 296 - EFTH Minix report #2 - May 1988 - putenv(3) - This is an implementation of putenv(3) that we wrote for Minix. Please consider this a public domain program. @@ -31,19 +26,16 @@ domain program. #include <stdio.h> - #define PSIZE sizeof(char *) - extern char **environ; - char *index(); char *malloc(); - /****************************************************************/ /* */ +/* int */ /* putenv( entry ) */ /* */ /* The "entry" should follow the form */ @@ -70,10 +62,10 @@ char *malloc(); /****************************************************************/ +int putenv( entry ) char *entry; - - { +{ unsigned length; unsigned size; char **p; @@ -114,4 +106,4 @@ putenv( entry ) environ = new_environ; return(NULL); - } +} |