Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
691a54cc
Kaydet (Commit)
691a54cc
authored
Nis 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up function declaration
Change-Id: I92c54f61fe8608d788cc236956f4a5a58e20a7df
üst
60cc9896
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
3 deletions
+32
-3
_getopt.c
soltools/cpp/_getopt.c
+2
-0
_getopt.h
soltools/cpp/_getopt.h
+29
-0
_unix.c
soltools/cpp/_unix.c
+1
-3
No files found.
soltools/cpp/_getopt.c
Dosyayı görüntüle @
691a54cc
...
...
@@ -20,6 +20,8 @@
#include <stdio.h>
#include <string.h>
#include <_getopt.h>
#define EPR fprintf(stderr,
#define ERR(str, chr) if(opterr) { EPR "%s%c\n", str, chr); }
...
...
soltools/cpp/_getopt.h
0 → 100644
Dosyayı görüntüle @
691a54cc
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SOLTOOLS_CPP_GETOPT_H
#define INCLUDED_SOLTOOLS_CPP_GETOPT_H
int
stgetopt
(
int
,
char
*
const
*
,
const
char
*
);
extern
char
*
optarg
;
extern
int
optind
;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
soltools/cpp/_unix.c
Dosyayı görüntüle @
691a54cc
...
...
@@ -32,9 +32,7 @@
#include "cpp.h"
#if defined MACOSX || defined AIX || defined WNT
extern
int
stgetopt
(
int
,
char
*
const
*
,
const
char
*
);
extern
char
*
optarg
;
extern
int
optind
;
#include <_getopt.h>
#else
#include <getopt.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment