[11715] in Athena Bugs

home help back first fref pref prev next nref lref last post

source/util/pinstall/install.c

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Tue Feb 8 08:30:50 1994

From: epeisach@MIT.EDU
Date: Tue, 8 Feb 1994 08:30:46 -0500
To: bugs@MIT.EDU
Cc: alpha@kangaroo.mit.edu


The following patch is technically not required by our platforms - but
is necessary for those compilers that enforce that you must declare a
function static before reference or it is assumed to be global.


Simple patch:

*** /source/util/pinstall/install.c	Sun Oct 17 18:33:50 1993
--- ./install.c	Tue Nov 23 19:42:15 1993
***************
*** 76,81 ****
--- 76,83 ----
  char *strdup();
  extern char *getenv();
  
+ static install(), strip(), copy(), isnumber(), atoo(), bad(), usage();
+ 
  main(argc, argv)
  	int argc;
  	char **argv;

home help back first fref pref prev next nref lref last post