projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Debian patch 2.5.1-1
[debian/amanda]
/
common-src
/
token.h
diff --git
a/common-src/token.h
b/common-src/token.h
index 6e33b7b3107ca96f8a51990058a065269a6c3d21..1856cbf8a6d632882d89a73bc93a9cc4d9047639 100644
(file)
--- a/
common-src/token.h
+++ b/
common-src/token.h
@@
-24,7
+24,7
@@
* file named AUTHORS, in the root directory of this distribution.
*/
/*
* file named AUTHORS, in the root directory of this distribution.
*/
/*
- * $Id: token.h,v 1.1
2 2003/03/26 20:17:13 kovert
Exp $
+ * $Id: token.h,v 1.1
3 2006/05/25 01:47:12 johnfranks
Exp $
*
* interface to token module
*/
*
* interface to token module
*/
@@
-35,18
+35,18
@@
typedef struct {char *word; int value;} table_t;
typedef struct {char *word; int value;} table_t;
-extern int split
P((char *str, char **token, int toklen, char *sep)
);
-extern char *squotef
P((char *format, ...)
)
+extern int split
(char *str, char **token, int toklen, char *sep
);
+extern char *squotef
(char *format, ...
)
__attribute__ ((format (printf, 1, 2)));
__attribute__ ((format (printf, 1, 2)));
-extern char *squote
P((char *str)
);
-extern char *quotef
P((char *sep, char *format, ...)
)
+extern char *squote
(char *str
);
+extern char *quotef
(char *sep, char *format, ...
)
__attribute__ ((format (printf, 2, 3)));
__attribute__ ((format (printf, 2, 3)));
-extern char *quote
P((char *sep, char *str)
);
-extern char *rxquote
P((char *str)
);
+extern char *quote
(char *sep, char *str
);
+extern char *rxquote
(char *str
);
#ifndef HAVE_SHQUOTE
#ifndef HAVE_SHQUOTE
-extern char *shquote
P((char *str)
);
+extern char *shquote
(char *str
);
#endif
#endif
-extern int table_lookup
P((table_t *table, char *str)
);
-extern char *table_lookup_r
P((table_t *table, int val)
);
+extern int table_lookup
(table_t *table, char *str
);
+extern char *table_lookup_r
(table_t *table, int val
);
#endif
#endif