dim
e01441233c
Fix the following -Werror warning from clang 3.5.0, while building
...
lib/libngatm:
sys/contrib/ngatm/netnatm/saal/saal_sscop.c:4030:32: error: 'break' is bound to current loop, GCC binds it to the enclosing loop [-Werror,-Wgcc-compat]
} while(sn < sscop->vr_h && !QFIND(&sscop->rbuf, sn));
^
sys/contrib/ngatm/netnatm/saal/saal_sscop.c:173:4: note: expanded from macro 'QFIND'
break; \
^
1 error generated.
The idea is to remove any ambiguity by replacing the macro with an
equivalent static inline function.
Reviewed by: emaste, rpaulo
See also: http://reviews.llvm.org/D2518
Differential Revision: https://reviews.freebsd.org/D1188
2014-11-19 07:47:37 +00:00
dim
04703cf7a9
In sys/contrib/ngatm/netnatm/msg/uni_ie.c, fix a few warnings from newer
...
versions of clang 3.2, about comparing enum uni_cause values against
integer constants which fall outside the enum range. No functional
change.
MFC after: 3 days
2012-11-05 19:00:25 +00:00
dim
50b202c372
In sys/contrib/ngatm/netnatm/msg/uni_ie.c, use a more appropriate way to
...
tell the compiler some parameters are purposefully unused.
MFC after: 1 week
2011-12-15 23:47:36 +00:00
rpaulo
a25e20e54a
Properly tell the compiler that we want to ignore the return value of
...
certain macros.
2010-10-13 17:09:53 +00:00
rpaulo
0d77104f9e
Fix several cases were a conditional operator was used instead of a
...
bitwise operator.
Found with: clang
2010-10-13 17:09:16 +00:00
trasz
9dd38d6c41
Fix array overflow.
...
Reviewed by: philip
2010-01-08 19:56:37 +00:00
rdivacky
841360d91c
Use proper form of gnu designated initalizers. This lets
...
clang compile this files.
Approved by: ed (mentor)
Silence from: harti (maintainer?)
2009-06-24 12:01:10 +00:00
harti
5bd0ea9607
This commit was generated by cvs2svn to compensate for changes in r171364,
...
which included commits to RCS files with non-trunk default branches.
2007-07-11 14:41:54 +00:00
harti
5d37f9d01f
Vendor patch to remove some __inline qualifiers on non-static functions
...
because they seem to cause warnings in gcc-4.2.
Submitted by: mjacob
Approved by: re
2007-07-11 14:41:54 +00:00
harti
64a08be33a
Virgin import of NgATM kernel part 1.2
2005-05-23 13:08:32 +00:00
harti
92345ef8b8
This commit was generated by cvs2svn to compensate for changes in r146539,
...
which included commits to RCS files with non-trunk default branches.
2005-05-23 13:08:32 +00:00
harti
ecf74a0083
Exclusion list for easier import.
2004-08-11 12:25:09 +00:00
harti
222df4eab2
Virgin import of NgATM shared kernel/user part 1.1
2004-08-11 12:21:36 +00:00
harti
f199ec9d83
This commit was generated by cvs2svn to compensate for changes in r133492,
...
which included commits to RCS files with non-trunk default branches.
2004-08-11 12:21:36 +00:00
harti
00f69125b4
Virgin import of NgATM share kernel/user part 1.0
2004-07-08 16:39:03 +00:00
harti
72f812830f
This commit was generated by cvs2svn to compensate for changes in r131826,
...
which included commits to RCS files with non-trunk default branches.
2004-07-08 16:39:03 +00:00
harti
03fc926fe6
Re-import of the original NgATM file version 0.91
2003-11-07 08:54:27 +00:00
harti
d6b421ea55
This commit was generated by cvs2svn to compensate for changes in r122208,
...
which included commits to RCS files with non-trunk default branches.
2003-11-07 08:54:27 +00:00
harti
7e00060782
These two files are generated with the ../genfiles script and are
...
not part of the imported distribution.
2003-11-07 08:48:43 +00:00
harti
a92d6f1ef6
Virgin import of signaling layer of NgATM shared kernel/user part 0.91
2003-11-07 08:46:22 +00:00
harti
aa350024a0
This commit was generated by cvs2svn to compensate for changes in r122205,
...
which included commits to RCS files with non-trunk default branches.
2003-11-07 08:46:22 +00:00
harti
ed133f5db5
Explain how to handle the generated files. Explain that the import
...
must actually be done into the netnatm sub-directory.
2003-11-03 09:15:31 +00:00
harti
664e0b71ab
These files are generated by the genfiles script. See FREEBSD-upgrade
...
for instructions how to upgrade these.
2003-11-03 09:11:53 +00:00
harti
d2e4a0c644
Virgin import of NgATM shared kernel/user part 0.91
2003-11-03 09:05:49 +00:00
harti
521744184b
This commit was generated by cvs2svn to compensate for changes in r121934,
...
which included commits to RCS files with non-trunk default branches.
2003-11-03 09:05:49 +00:00
harti
73542e98c6
Some upgrade instructions.
2003-10-22 07:44:45 +00:00
harti
9651c80ecb
Virgin import of the NgATM SAAL layer shared kernel/user part v0.9.
2003-10-22 07:41:16 +00:00