[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -bsd@ stuff to do during DebConf?



Steven Chamberlain <steven@pyro.eu.org> writes:
> On 25/08/14 13:24, Steven Chamberlain wrote:
>> $ cd /«PKGBUILDDIR»/flavor-10.1-0-amd64/sys/amd64/compile/DEBCUSTOM
>> $ clang-3.4 -E -O2 -pipe  -D_GNU_SOURCE -isystem /usr/include/freebsd
>> -I../../../dev/aic7xxx/aicasm -std=gnu99 -Qunused-arguments -Wall
>> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
>> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
>> -Wno-missing-prototypes -c ../../../dev/aic7xxx/aicasm/aicasm.c
>> 
>> And I'll do the same with my older libbsd-dev.
>
> Attached mine with libbsd-dev/0.6.0-1.

--- steven	2014-08-25 10:00:15.549736000 -0700
+++ christoph	2014-08-25 10:00:03.839713706 -0700
@@ -2410,28 +2410,38 @@
 
 
 # 1 "/usr/include/bsd/stdio.h" 1 3 4
-# 30 "/usr/include/bsd/stdio.h" 3 4
+# 34 "/usr/include/bsd/stdio.h" 3 4
 # 1 "/usr/include/freebsd/stdio.h" 1 3 4
-# 31 "/usr/include/bsd/stdio.h" 2 3 4
+# 35 "/usr/include/bsd/stdio.h" 2 3 4
+
 
 
 
 
 
 # 1 "/usr/include/freebsd/sys/cdefs.h" 1 3 4
-# 37 "/usr/include/bsd/stdio.h" 2 3 4
+# 42 "/usr/include/bsd/stdio.h" 2 3 4
 # 1 "/usr/include/freebsd/sys/types.h" 1 3 4
 
 
 
 # 1 "/usr/include/sys/kern/types.h" 1 3 4
 # 5 "/usr/include/freebsd/sys/types.h" 2 3 4
-# 38 "/usr/include/bsd/stdio.h" 2 3 4
+# 43 "/usr/include/bsd/stdio.h" 2 3 4
 
 
 const char *fmtcheck(const char *, const char *);
 
 char *fgetln(FILE *fp, size_t *lenp);
+# 57 "/usr/include/bsd/stdio.h" 3 4
+FILE *funopen(const void *cookie,
+              int (*readfn)(void *cookie, char *buf, int size),
+              int (*writefn)(void *cookie, const char *buf, int size),
+              off_t (*seekfn)(void *cookie, off_t offset, int whence),
+              int (*closefn)(void *cookie));
+
+
+
 
 int fpurge(FILE *fp);
 # 7 "/usr/include/freebsd/stdio.h" 2 3
@@ -2454,8 +2464,8 @@
 FILE *funopen (const void *cookie, int (*readfn)(void *, char *, int),
         int (*writefn)(void *, const char *, int),
         fpos_t (*seekfn)(void *, fpos_t, int), int (*closefn)(void *));
-FILE *fropen (void *cookie, int (*readfn)(void *, char *, int));
-FILE *fwopen (void *cookie, int (*writefn)(void *, const char *, int));
+FILE *funopen(void *cookie, int (*readfn)(void *, char *, int), ((void*)0), ((void*)0), ((void*)0));
+FILE *funopen(void *cookie, ((void*)0), int (*writefn)(void *, const char *, int), ((void*)0), ((void*)0));
 # 51 "../../../dev/aic7xxx/aicasm/aicasm.c" 2
 # 1 "/usr/include/freebsd/stdlib.h" 1 3
 # 1 "/usr/include/stdlib.h" 1 3 4
          


Reply to: