Fix a number of additional warnings.

This commit is contained in:
Jordan K. Hubbard 1995-04-26 14:04:36 +00:00
parent 7662263998
commit 8a65b63a2c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8080
2 changed files with 2 additions and 13 deletions

View file

@ -47,18 +47,7 @@
#define __END_DECLS
#endif
/*
* The __CONCAT macro is used to concatenate parts of symbol names, e.g.
* with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
* The __CONCAT macro is a bit tricky -- make sure you don't put spaces
* in between its arguments. __CONCAT can also concatenate double-quoted
* strings produced by the __STRING macro, but this only works with ANSI C.
*/
#if (defined(__STDC__) || defined(__cplusplus)) && !defined(__CONCAT)
#define __P(protos) protos /* full-blown ANSI C */
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x
#if (defined(__STDC__) || defined(__cplusplus))
#define __const const /* define reserved names to standard */
#define __signed signed
#define __volatile volatile

View file

@ -241,7 +241,7 @@ execute (char *cmd)
if ( *cmd == '!' )
{
int pid,_pid;
union wait status;
int status;
if (!(pid=fork()))
{