search for: endif

Displaying 20 results from an estimated 13803 matches for "endif".

2002 Jan 23
1
Fix AFS and Kerberos interaction
...sh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1 --- auth-krb4.c 2002/01/23 10:50:54 1.1 +++ auth-krb4.c 2002/01/23 10:55:40 @@ -34,11 +34,12 @@ #include "uidswap.h" #include "auth.h" +#ifdef KRB4 + #ifdef AFS #include "radix.h" #endif -#ifdef KRB4 extern ServerOptions options; static int @@ -279,9 +280,7 @@ packet_write_wait(); return (1); } -#endif /* KRB4 */ -#ifdef AFS int auth_krb4_tgt(Authctxt *authctxt, const char *string) { @@ -370,4 +369,4 @@ return (1); } -#endif /* AFS */ +#endif /* KRB4 */ --- au...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...asm-generic/auxvec.h @@ -1,8 +1,8 @@ -#ifndef __ASM_GENERIC_AUXVEC_H -#define __ASM_GENERIC_AUXVEC_H +#ifndef _UAPI_ASM_GENERIC_AUXVEC_H +#define _UAPI_ASM_GENERIC_AUXVEC_H /* * Not all architectures need their own auxvec.h, the most * common definitions are already in linux/auxvec.h. */ -#endif /* __ASM_GENERIC_AUXVEC_H */ +#endif /* _UAPI_ASM_GENERIC_AUXVEC_H */ diff --git a/include/uapi/asm-generic/bitsperlong.h b/include/uapi/asm-generic/bitsperlong.h index 23e6c41..2a6e4e2 100644 --- a/include/uapi/asm-generic/bitsperlong.h +++ b/include/uapi/asm-generic/bitsperlong.h @@ -1,5 +1,5 @@...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...asm-generic/auxvec.h @@ -1,8 +1,8 @@ -#ifndef __ASM_GENERIC_AUXVEC_H -#define __ASM_GENERIC_AUXVEC_H +#ifndef _UAPI_ASM_GENERIC_AUXVEC_H +#define _UAPI_ASM_GENERIC_AUXVEC_H /* * Not all architectures need their own auxvec.h, the most * common definitions are already in linux/auxvec.h. */ -#endif /* __ASM_GENERIC_AUXVEC_H */ +#endif /* _UAPI_ASM_GENERIC_AUXVEC_H */ diff --git a/include/uapi/asm-generic/bitsperlong.h b/include/uapi/asm-generic/bitsperlong.h index 23e6c41..2a6e4e2 100644 --- a/include/uapi/asm-generic/bitsperlong.h +++ b/include/uapi/asm-generic/bitsperlong.h @@ -1,5 +1,5 @@...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...asm-generic/auxvec.h @@ -1,8 +1,8 @@ -#ifndef __ASM_GENERIC_AUXVEC_H -#define __ASM_GENERIC_AUXVEC_H +#ifndef _UAPI_ASM_GENERIC_AUXVEC_H +#define _UAPI_ASM_GENERIC_AUXVEC_H /* * Not all architectures need their own auxvec.h, the most * common definitions are already in linux/auxvec.h. */ -#endif /* __ASM_GENERIC_AUXVEC_H */ +#endif /* _UAPI_ASM_GENERIC_AUXVEC_H */ diff --git a/include/uapi/asm-generic/bitsperlong.h b/include/uapi/asm-generic/bitsperlong.h index 23e6c41..2a6e4e2 100644 --- a/include/uapi/asm-generic/bitsperlong.h +++ b/include/uapi/asm-generic/bitsperlong.h @@ -1,5 +1,5 @@...
2001 Oct 24
2
disable features
...auth-options.c,v retrieving revision 1.20 diff -u -r1.20 auth-options.c --- auth-options.c 30 Aug 2001 20:36:34 -0000 1.20 +++ auth-options.c 22 Oct 2001 18:26:52 -0000 @@ -53,7 +53,9 @@ xfree(forced_command); forced_command = NULL; } +#ifdef WITH_TCPFWD channel_clear_permitted_opens(); +#endif } /* @@ -257,8 +259,10 @@ xfree(patterns); goto bad_option; } +#ifdef WITH_TCPFWD if (options.allow_tcp_forwarding) channel_add_permitted_opens(host, port); +#endif xfree(patterns); goto next_option; } Index: channels.c =========================================...
2017 Dec 01
2
[Release-testers] 5.0.1-rc2 has been tagged
....101426ff 100644 --- a/c_headers/stdarg.h +++ b/c_headers/stdarg.h @@ -26,14 +26,10 @@ #ifndef __STDARG_H #define __STDARG_H -/* zig: added because macos _va_list.h was duplicately defining va_list - */ #ifndef _VA_LIST -#ifndef _VA_LIST_T typedef __builtin_va_list va_list; #define _VA_LIST #endif -#endif #define va_start(ap, param) __builtin_va_start(ap, param) #define va_end(ap) __builtin_va_end(ap) #define va_arg(ap, type) __builtin_va_arg(ap, type) @@ -50,9 +46,6 @@ typedef __builtin_va_list va_list; #ifndef __GNUC_VA_LIST #define __GNUC_VA_LIST 1 typedef __builtin_va_l...
2015 Jun 23
2
Call for testing: OpenSSH 6.9
...index 23025f9..2271e94 100644 --- a/regress/unittests/bitmap/tests.c +++ b/regress/unittests/bitmap/tests.c @@ -27,6 +27,7 @@ void tests(void) { +#ifdef WITH_OPENSSL struct bitmap *b; BIGNUM *bn; size_t len; @@ -131,5 +132,6 @@ tests(void) bitmap_free(b); BN_free(bn); TEST_DONE(); +#endif /* WITH_OPENSSL */ } diff --git a/regress/unittests/hostkeys/test_iterate.c b/regress/unittests/hostkeys/test_iterate.c index 2eaaf06..da0e353 100644 --- a/regress/unittests/hostkeys/test_iterate.c +++ b/regress/unittests/hostkeys/test_iterate.c @@ -92,12 +92,22 @@ check(struct hostkey_foreach_l...
2005 Aug 30
2
Very minor feature request
Hello, I'd suggest a way to get to know the "capabilities" of a compiled Dovecot. The background is that I've run the sequence ./configure --with-ldap && make && make install twice, all three commands tell me that all is fine (ldap is listed in the modules), but still dovecot told me that ldap is no Usedb module. A "make clean" before solved the
1999 Dec 21
0
Problem with UTMP recording
...e the z library (-lz). */ #define HAVE_LIBZ 1 /* ******************* Shouldn't need to edit below this line ************** */ #include <sys/types.h> /* For u_intXX_t */ #include <sys/socket.h> /* For SHUT_XXXX */ #ifdef HAVE_PATHS_H # include <paths.h> /* For _PATH_XXX */ #endif #ifdef HAVE_UTMP_H # include <utmp.h> /* For _PATH_XXX */ #endif #ifdef HAVE_UTMPX_H # include <utmpx.h> /* For _PATH_XXX */ #endif #ifdef HAVE_SYS_TIME_H # include <sys/time.h> /* For timersub */ #endif #ifdef HAVE_MAILLOCK_H #include <maillock.h> #endif #ifndef SHU...
2016 Apr 21
25
[PATCH 00/24] drm: add extern C guard for the UAPI headers
Hi all, As some of you may know there some subtle distinction between C and C++ structs, thus one should wrap/annotate them roughly like below. ... #if defined(__cplusplus) extern "C" { #endif struct foo { int bar; ... }; ... #if defined(__cplusplus) } #endif In order to work around the lack of these users can wrap the header inclusion in the same way. For example: ... #if defined(__cplusplus) extern "C" { #endif #include <i915_drm.h> #if defined(__cplus...
2009 Feb 10
3
[PATCH 2/2] Use correct config option for ixgbe VMDq
...000000 -0800 +++ b/drivers/net/ixgbe/ixgbe.h 2009-02-10 14:32:57.000000000 -0800 @@ -35,7 +35,7 @@ #include <linux/pci.h> #include <linux/netdevice.h> #include <linux/vmalloc.h> -#ifdef CONFIG_XEN_NETDEV2_BACKEND +#ifdef CONFIG_XEN_NETDEV2_VMQ #include <linux/netvmq.h> #endif @@ -423,7 +423,7 @@ struct ixgbe_adapter { unsigned int lro_flushed; unsigned int lro_no_desc; #endif -#ifdef CONFIG_XEN_NETDEV2_BACKEND +#ifdef CONFIG_XEN_NETDEV2_VMQ struct net_vmq *vmq; u32 rx_queues_allocated; #endif diff -urpN a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixg...
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...+ +SharedPrefix := lib +SharedDir := $(LibDir) +LLVMSharedDir := $(LLVMLibDir) + +# Win32.DLL prefers to be located on the "PATH" of binaries. +ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) + SharedPrefix := + SharedDir := $(ToolDir) + LLVMSharedDir := $(LLVMToolDir) +endif + +ifeq ($(HOST_OS),Cygwin) + SharedPrefix := cyg +endif + +#-------------------------------------------------------------------- # LLVM Capable Compiler #-------------------------------------------------------------------- @@ -570,12 +589,7 @@ ifeq ($(HOST_OS),Darwin) SharedLinkOptions...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...+++++++++++++++----- src/nv_type.h | 7 +++ 3 files changed, 191 insertions(+), 13 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 7e47575..cb1a395 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -8,6 +8,10 @@ #ifdef DRI2 #include "dri2.h" #endif +#ifdef XORG_WAYLAND +#include <xf86Priv.h> +#include <xwayland.h> +#endif #if defined(DRI2) && DRI2INFOREC_VERSION >= 3 struct nouveau_dri2_buffer { @@ -660,6 +664,32 @@ nouveau_dri2_flip_event_handler(unsigned int frame, unsigned int tv_sec, free(flip); } +#ifdef X...
2009 Nov 18
5
[PATCH 0/3] Split up pv-ops
Paravirt ops is currently only capable of either replacing a lot of Linux internal code or none at all. The are users that don't need all of the possibilities pv-ops delivers though. On KVM for example we're perfectly fine not using the PV MMU, thus not touching any MMU code. That way we don't have to improve pv-ops to become fast, we just don't compile the MMU parts in! This
2009 Nov 18
5
[PATCH 0/3] Split up pv-ops
Paravirt ops is currently only capable of either replacing a lot of Linux internal code or none at all. The are users that don't need all of the possibilities pv-ops delivers though. On KVM for example we're perfectly fine not using the PV MMU, thus not touching any MMU code. That way we don't have to improve pv-ops to become fast, we just don't compile the MMU parts in! This
2003 Oct 28
2
Privilege separation
...hu Jul 4 04:14:18 2002 +++ openssh-3.7.1p2/auth-bsdauth.c Sat Oct 4 23:52:37 2003 @@ -115,6 +115,7 @@ bsdauth_free_ctx }; +#ifndef DISABLE_PRIVSEP KbdintDevice mm_bsdauth_device = { "bsdauth", bsdauth_init_ctx, @@ -122,4 +123,5 @@ mm_bsdauth_respond, bsdauth_free_ctx }; +#endif /* DISABLE_PRIVSEP */ #endif diff -adurN openssh-3.7.1p2.privsep/auth-options.c openssh-3.7.1p2/auth-options.c --- openssh-3.7.1p2.privsep/auth-options.c Tue Jun 3 04:25:48 2003 +++ openssh-3.7.1p2/auth-options.c Sat Oct 4 22:54:42 2003 @@ -280,7 +280,9 @@ /* Process the next option. */ }...
2002 Feb 15
1
IRIX cleanup.
...t/bsd-irix.c Wed Dec 31 18:00:00 1969 +++ openssh-irix/openbsd-compat/bsd-irix.c Thu Feb 14 23:08:00 2002 @@ -0,0 +1,61 @@ +#include "includes.h" + +#if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) + +#ifdef WITH_IRIX_PROJECT +#include <proj.h> +#endif /* WITH_IRIX_PROJECT */ +#ifdef WITH_IRIX_JOBS +#include <sys/resource.h> +#endif +#ifdef WITH_IRIX_AUDIT +#include <sat.h> +#endif /* WITH_IRIX_AUDIT */ + +void +irix_setusercontext(struct passwd *pw) +{ +#ifdef WITH_IRIX_PROJECT + prid_t projid; +#endif /* WITH_IRIX_PROJECT */...
2000 Feb 27
0
[PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH
This patch revive almost all login.conf and password/account expiration features, makes OpenSSH more FreeBSD login compatible and fix non-critical memory leak. Please review and commit. --- sshd.c.old Fri Feb 25 08:23:45 2000 +++ sshd.c Sun Feb 27 02:53:33 2000 @@ -37,9 +37,8 @@ #endif /* LIBWRAP */ #ifdef __FreeBSD__ -#include <libutil.h> -#include <syslog.h> #define LOGIN_CAP +#define _PATH_CHPASS "/usr/bin/passwd" #endif /* __FreeBSD__ */ #ifdef LOGIN_CAP @@ -1246,6 +1245,7 @@ return 0; } } +#ifndef __FreeBSD__ /* FreeBSD handle it l...
2014 Nov 21
0
[RFC PATCHv1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
.../macros.h | 4 +- 13 files changed, 205 insertions(+), 25 deletions(-) create mode 100644 celt/arm/celt_neon_intr.c diff --git a/Makefile.am b/Makefile.am index e20f7b4..0e9e120 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,6 +38,12 @@ CELT_SOURCES += $(CELT_SOURCES_SSE) endif endif +if OPUS_ARM_NEON_INTR +noinst_LTLIBRARIES = libarmneon.la +libarmneon_la_SOURCES = $(CELT_SOURCES_ARM_NEON_INTR) +libarmneon_la_CPPFLAGS = $(OPUS_ARM_NEON_INTR_CPPFLAGS) -I$(top_srcdir)/include +endif + if CPU_ARM CELT_SOURCES += $(CELT_SOURCES_ARM) SILK_SOURCES += $(SILK_SOURCES_ARM)...
2015 Aug 05
0
[PATCH 2/8] Reorganize pitch_arm.h, so RTCD works for intrinsics functions as well.
.../celt/arm/arm_celt_map.c b/celt/arm/arm_celt_map.c index 0c9acff..cc6b706 100644 --- a/celt/arm/arm_celt_map.c +++ b/celt/arm/arm_celt_map.c @@ -94,9 +94,14 @@ void (*const CLT_MDCT_BACKWARD_IMPL[OPUS_ARCHMASK+1])(const mdct_lookup *l, clt_mdct_backward_neon, /* Neon with NE10 */ }; -#endif +#endif /* HAVE_ARM_NE10 */ # if defined(FIXED_POINT) + +#if defined(OPUS_ARM_MAY_HAVE_NEON) || defined(OPUS_ARM_MAY_HAVE_EDSP) + +#if !defined(OPUS_ARM_PRESUME_NEON) && (!defined(OPUS_ARM_PRESUME_EDSP) || defined(OPUS_ARM_MAY_HAVE_NEON)) + opus_val32 (*const CELT_PITCH_XCORR_IMPL[OPUS_...