aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1991-12-08 01:05:54 +0000
committerSteve Chamberlain <sac@cygnus>1991-12-08 01:05:54 +0000
commit147a251ab6fc0926d64c36e3dfe1069452da5390 (patch)
tree769ebae1b078e9774f1fec904b2b47d755d9982a /bfd/hosts
parentcf9bf3979a1d80ce07a3b4fe919b20f2a86c932b (diff)
downloadgdb-147a251ab6fc0926d64c36e3dfe1069452da5390.zip
gdb-147a251ab6fc0926d64c36e3dfe1069452da5390.tar.gz
gdb-147a251ab6fc0926d64c36e3dfe1069452da5390.tar.bz2
More prototype lint.
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/sparc.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h
index 0b8fcc4..7182ae6 100644
--- a/bfd/hosts/sparc.h
+++ b/bfd/hosts/sparc.h
@@ -12,6 +12,10 @@
#define SEEK_SET 0
#define SEEK_CUR 1
+char *EXFUN(mktemp,(CONST char*));
+extern int EXFUN(fflush,(FILE *));
+extern int EXFUN(write,(int, CONST char *, int));
+extern int EXFUN(index,(CONST char *, char c));
extern int EXFUN(abort,(void));
extern int EXFUN(close,(int));
extern int EXFUN(fcntl,(int des, int cmd, int e));
@@ -31,6 +35,16 @@ PTR EXFUN(memcpy,(PTR,CONST PTR,unsigned int));
/* PROTO(char *, memcpy,(char *,CONST char *,unsigned int)); */
#endif
+PTR EXFUN(memset,(PTR, int, int));
+void EXFUN( puts,(CONST char*));
+void EXFUN(fputs,(CONST char*,FILE*));
+
+int EXFUN(rmdir,(CONST char *));
+
+int EXFUN(getuid,(void));
+int EXFUN(getgid,(void));
+int EXFUN(rename,(CONST char *, CONST char*));
+
extern int EXFUN(etuid,());
extern int EXFUN(etgid,());
extern char * strchr();
@@ -46,8 +60,8 @@ extern int sscanf();
extern int stat();
extern int strtol();
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(alloc,(unsigned));
-extern PTR EXFUN(ealloc, (PTR, unsigned));
+extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(realloc, (PTR, unsigned));
#endif
extern int EXFUN(free,(PTR));
@@ -115,3 +129,5 @@ typedef struct {
#define uint64_typeLOW(x) (uint32_type)(((x) & 0xffffffff))
#define uint64_typeHIGH(x) (uint32_type)(((x) >> 32) & 0xffffffff)
#endif
+
+