Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
parent
226d80b821
commit
cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions
|
|
@ -144,10 +144,10 @@ _parseattr(char *s)
|
|||
t = tok[i];
|
||||
if(p = strchr(t, '=')){
|
||||
*p++ = '\0';
|
||||
// if(p-2 >= t && p[-2] == ':'){
|
||||
// p[-2] = '\0';
|
||||
// type = AttrDefault;
|
||||
// }else
|
||||
/* if(p-2 >= t && p[-2] == ':'){ */
|
||||
/* p[-2] = '\0'; */
|
||||
/* type = AttrDefault; */
|
||||
/* }else */
|
||||
type = AttrNameval;
|
||||
a = _mkattr(type, t, p, a);
|
||||
setmalloctag(a, getcallerpc(&s));
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include "authlocal.h"
|
||||
|
||||
enum {
|
||||
ARgiveup = 100,
|
||||
ARgiveup = 100
|
||||
};
|
||||
|
||||
static int
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include "authlocal.h"
|
||||
|
||||
enum {
|
||||
ARgiveup = 100,
|
||||
ARgiveup = 100
|
||||
};
|
||||
|
||||
static uchar*
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include "authlocal.h"
|
||||
|
||||
enum {
|
||||
ARgiveup = 100,
|
||||
ARgiveup = 100
|
||||
};
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue