9b7325c9ed
me on -current
15 lines
544 B
Text
15 lines
544 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2003/08/16 15:33:01 drochner Exp $
|
|
|
|
--- agi.h.orig 2003-08-11 15:37:42.000000000 +0200
|
|
+++ agi.h 2003-08-11 15:38:24.000000000 +0200
|
|
@@ -378,8 +378,8 @@
|
|
|
|
#define AGI_TRACE printf("trace at: file=%s, func=%s, line=%d\n", __FILE__,__PRETTY_FUNCTION__, __LINE__);
|
|
|
|
-#define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
|
|
- strcpy(blah, str_data); \
|
|
+#define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
|
|
+ strcpy(blah, str_data); \
|
|
blah; })
|
|
|
|
#define CT_INT (0)
|